Class: AGTkBwProgressBar
- Inherits:
-
AGTkBase
- Object
- AG
- AGTk
- AGTkLayoutManaged
- AGTkBase
- AGTkBwProgressBar
- Defined in:
- lib/tkext/al-bwidget.rb
Instance Attribute Summary
Attributes inherited from AGTk
#canvas, #l_manager, #x0, #x3, #y0, #y3
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from AGTkLayoutManaged
Methods inherited from AGTk
#activate, #active_move_tab, class_renderer, class_sniffer, #contains_events, #delete, #getFileName, #has_events, #initialize, #new_object, #popup, #popup_items, #update_property
Constructor Details
This class inherits a constructor from AGTk
Class Method Details
.class_wrapped ⇒ Object
109 110 111 |
# File 'lib/tkext/al-bwidget.rb', line 109 def AGTkBwProgressBar.class_wrapped Tk::BWidget::ProgressBar end |
Instance Method Details
#properties ⇒ Object
113 114 115 116 117 118 119 120 |
# File 'lib/tkext/al-bwidget.rb', line 113 def properties super() publish('property','name'=>'variable', 'get'=> proc{@obj.cget('variable')}, 'set'=> proc{|variable| @obj.configure('variable'=>variable)}, 'def'=> '' ) end |