Module: Gtk2ClockApp
- Defined in:
- lib/gtk2clockapp.rb,
lib/gtk2clockapp/gui.rb,
lib/gtk2clockapp/config.rb
Defined Under Namespace
Classes: Gui
Constant Summary collapse
- VERSION =
'2.1.210812'
- CONFIG =
{ Time: '%l:%M %p', DateA: '%Y-%m-%d', DateB: '%A %B %e', Background: color[:Background], Day: color[:Day], Dusk: color[:Dusk], Night: color[:Night], # Window WINDOW: [], window: { set_title: 'Gtk2ClockApp', override_background_color: [:normal, color[:Background]], }, window!: [:WINDOW, :window, 'destroy'], # Vbox VBOX: [:vertical], vbox: {}, vbox!: [:VBOX, :vbox], # Hbox HBOX: [:horizontal], hbox: { into: [:pack_start, expand: false, fill: true, padding: pad], }, hbox!: [:HBOX, :hbox], # Labels LABEL: [''], # Big label big_label: { override_font: font[:BIG], override_color: [:normal, color[:Day]], into: [:pack_start, expand: false, fill: true, padding: pad], }, big_label!: [:LABEL, :big_label], # Medium label medium_label: { override_font: font[:MEDIUM], override_color: [:normal, color[:Day]], into: [:pack_start, expand: false, fill: true, padding: pad], }, medium_label!: [:LABEL, :medium_label], # Small label small_label: { override_font: font[:SMALL], override_color: [:normal, color[:Day]], into: [:pack_start, expand: false, fill: true, padding: pad], }, small_label!: [:LABEL, :small_label], }