Class: XRC2Ruby::ObjectTypes::ScrollBar
- Defined in:
- lib/wx_sugar/xrc/xrc2ruby_types/range.rb
Constant Summary
Constants inherited from Window
Instance Attribute Summary collapse
-
#pagesize ⇒ Object
Returns the value of attribute pagesize.
-
#range ⇒ Object
Returns the value of attribute range.
-
#thumbsize ⇒ Object
Returns the value of attribute thumbsize.
-
#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
#pagesize ⇒ Object
Returns the value of attribute pagesize.
4 5 6 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/range.rb', line 4 def pagesize @pagesize end |
#range ⇒ Object
Returns the value of attribute range.
4 5 6 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/range.rb', line 4 def range @range end |
#thumbsize ⇒ Object
Returns the value of attribute thumbsize.
4 5 6 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/range.rb', line 4 def thumbsize @thumbsize end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/range.rb', line 4 def value @value end |
Instance Method Details
#setup ⇒ Object
5 6 7 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/range.rb', line 5 def setup "#{var_name}.set_scrollbar(#{value}, #{thumbsize}, #{range}, #{pagesize})" end |