Class: XRC2Ruby::ObjectTypes::PANEWINDOW
- Defined in:
- lib/wx_sugar/xrc/xrc2ruby_types/containers.rb
Overview
Special class for the interior pane of a CollapsiblePane; not represented by a “real” Window in wxRuby, instead accessed via CollapsiblePane#get_pane
Constant Summary
Constants inherited from Window
Instance Attribute Summary collapse
-
#coll_pane ⇒ Object
readonly
Returns the value of attribute coll_pane.
Attributes included from Parent
#children, #main_sizer, #sizer_items
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
-
#initialize(coll_pane, an_id = nil) ⇒ PANEWINDOW
constructor
A new instance of PANEWINDOW.
- #output ⇒ Object
- #var_name ⇒ Object
Methods included from Parent
#add_child, #child_output, #named_windows, #size_child
Methods inherited from Window
Methods included from InitArgs
#inherited, #init_arg, #init_args, #translatable_string_init_arg
Methods inherited from Object
Constructor Details
#initialize(coll_pane, an_id = nil) ⇒ PANEWINDOW
Returns a new instance of PANEWINDOW.
80 81 82 83 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 80 def initialize(coll_pane, an_id = nil) @coll_pane = coll_pane @coll_pane.pane = self end |
Instance Attribute Details
#coll_pane ⇒ Object (readonly)
Returns the value of attribute coll_pane.
79 80 81 |
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 79 def coll_pane @coll_pane end |