Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 997 Bytes

TimerColon.md

File metadata and controls

18 lines (15 loc) · 997 Bytes

TimerColon

Colon for digital clocks and timers.

Methods

new -constructor without parameters
bg_color - returns background color as GtkCustomWidgets::Color
bg_color=(color : GtkCustomWidgets::Color) - sets background color.
on_color - returns "turn on" color of segments as GtkCustomWidgets::Color
on_color=(color : GtkCustomWidgets::Color) - sets "turn on" color of segments.
off_color - returns "turn off" color of segments as GtkCustomWidgets::Color
off_color=(color : GtkCustomWidgets::Color) - sets "turn off" color of segments.
active - returns state of widget ( true if "on", false if "off")
active=(value : Bool) - sets state of widget ( true if "on", false if "off")
dot_radius - returns radius of dot relative to height of TimerColon.
dot_radius=(value : Float64) - sets radius of dot relative to height of TimerColon.