Class: AGTkBwButton
- Inherits:
-
AGTkButton
- Object
- AG
- AGTk
- AGTkLayoutManaged
- AGTkBase
- AGTkButton
- AGTkBwButton
- Defined in:
- ext/ae-rad/lib/tkext/al-bwidget.rb
Instance Attribute Summary
Attributes inherited from AGTk
#canvas, #l_manager, #x0, #x3, #y0, #y3
Attributes inherited from AG
#ag_parent, #i_ag, #i_name, #obj, #obj_class, #persistent, #props, #props_def, #props_kinds, #renderer, #sniffer, #sons
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
Methods inherited from AG
#activate, active, #add_require, #build_sons, class_renderer, class_sniffer, #defaults, #defaults_values, #del_require, #delete, #fill_defaults_value_from_agobj, #getControlClassName, #getFileName, #getInstanceClass, #getObjClass, #getViewClassName, #get_implementation_block, #get_implementation_code, #get_implementation_new, #get_path_i_name, #has_sons, #initialize, near_class_wrapped, near_class_wrapper, #new_id, #new_object, #passed_object, #publish, #publish_def, #publish_del, #publish_mod, publish_property, #register, #retrive_values, #select, #start_properties, #update_property
Constructor Details
This class inherits a constructor from AGTk
Class Method Details
.class_wrapped ⇒ Object
124 125 126 |
# File 'ext/ae-rad/lib/tkext/al-bwidget.rb', line 124 def AGTkBwButton.class_wrapped Tk::BWidget::Button end |
Instance Method Details
#properties ⇒ Object
127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'ext/ae-rad/lib/tkext/al-bwidget.rb', line 127 def properties super() publish('property','name'=>'helptype', 'get'=> proc{@obj.cget('helptype')}, 'set'=> proc{|v| @obj.configure('helptype'=>v)}, 'def'=> "", 'type'=> EnumType.new('balloon','variable') ) publish('property','name'=>'helptext', 'get'=> proc{@obj.cget('helptext')}, 'set'=> proc{|v| @obj.configure('helptext'=>v)}, 'def'=> "" ) end |