Class: XRC2Ruby::ObjectTypes::Gauge
- Defined in:
- lib/wx_sugar/xrc/xrc2ruby_types/static.rb
Constant Summary
Constants inherited from Window
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from Window
#bg, #enabled, #exstyle, #fg, #help, #hidden, #tooltip
Attributes inherited from Object
#centered, #name, #parent, #sub_class, #win_class
Instance Method Summary collapse
Methods inherited from Window
Methods included from InitArgs
#inherited, #init_arg, #init_args, #translatable_string_init_arg
Methods inherited from Object
#initialize, #inspect, next_id, #output, #var_name
Constructor Details
This class inherits a constructor from XRC2Ruby::ObjectTypes::Object
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
18 19 20 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/static.rb', line 18 def value @value end |
Instance Method Details
#setup ⇒ Object
20 21 22 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/static.rb', line 20 def setup value ? "#{var_name}.value = #{value}\n" : "" end |