Class: RUI::GuiBuilder::Tab::Helper
- Defined in:
- lib/rui/toolkits/qtbase/gui_builder.rb
Instance Method Summary collapse
- #add_widget(widget) ⇒ Object
-
#initialize(parent, text) ⇒ Helper
constructor
A new instance of Helper.
Constructor Details
#initialize(parent, text) ⇒ Helper
Returns a new instance of Helper.
285 286 287 288 |
# File 'lib/rui/toolkits/qtbase/gui_builder.rb', line 285 def initialize(parent, text) @parent = parent @text = text end |
Instance Method Details
#add_widget(widget) ⇒ Object
290 291 292 |
# File 'lib/rui/toolkits/qtbase/gui_builder.rb', line 290 def () @parent.add_tab(, @text) end |