Class: XRC2Ruby::ObjectTypes::StdDialogButtonSizer
- Defined in:
- lib/wx_sugar/xrc/xrc2ruby_types/sizers.rb
Constant Summary
Constants inherited from Sizer
XRC2Ruby::ObjectTypes::Sizer::BASE_NAME
Instance Attribute Summary collapse
-
#cols ⇒ Object
Returns the value of attribute cols.
-
#hgap ⇒ Object
Returns the value of attribute hgap.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#vgap ⇒ Object
Returns the value of attribute vgap.
Attributes inherited from Object
#centered, #name, #parent, #sub_class, #win_class
Instance Method Summary collapse
Methods inherited from Object
#initialize, #inspect, next_id, #var_name
Constructor Details
This class inherits a constructor from XRC2Ruby::ObjectTypes::Object
Instance Attribute Details
#cols ⇒ Object
Returns the value of attribute cols.
57 58 59 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/sizers.rb', line 57 def cols @cols end |
#hgap ⇒ Object
Returns the value of attribute hgap.
57 58 59 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/sizers.rb', line 57 def hgap @hgap end |
#rows ⇒ Object
Returns the value of attribute rows.
57 58 59 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/sizers.rb', line 57 def rows @rows end |
#vgap ⇒ Object
Returns the value of attribute vgap.
57 58 59 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/sizers.rb', line 57 def vgap @vgap end |
Instance Method Details
#output ⇒ Object
58 59 60 61 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/sizers.rb', line 58 def output "#{var_name} = Wx::StaticBoxSizer.new(#{orient.gsub(/^wx/, "Wx::")}," + " Wx::ID_ANY, '#{label}')" end |