Class: XRC2Ruby::ObjectTypes::SEPARATOR

Inherits:
Object
  • Object
show all
Defined in:
lib/wx_sugar/xrc/xrc2ruby_types/toolbar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(toolbar_or_menu, an_id = nil) ⇒ SEPARATOR

Returns a new instance of SEPARATOR.



82
83
84
# File 'lib/wx_sugar/xrc/xrc2ruby_types/toolbar.rb', line 82

def initialize(toolbar_or_menu, an_id = nil)
  @toolbar = toolbar_or_menu
end

Instance Attribute Details

#toolbarObject (readonly)

Returns the value of attribute toolbar.



81
82
83
# File 'lib/wx_sugar/xrc/xrc2ruby_types/toolbar.rb', line 81

def toolbar
  @toolbar
end