Class: Qt::TabWidget
Direct Known Subclasses
Instance Method Summary collapse
- #currentWidget ⇒ Object (also: #currentTab)
- #tab(index) ⇒ Object
- #widgets ⇒ Object (also: #tabs)
Instance Method Details
#currentWidget ⇒ Object Also known as: currentTab
414 415 416 |
# File 'lib/cosmos/gui/qt.rb', line 414 def currentWidget self.(self.currentIndex) end |
#tab(index) ⇒ Object
401 402 403 |
# File 'lib/cosmos/gui/qt.rb', line 401 def tab(index) (index) end |
#widgets ⇒ Object Also known as: tabs
405 406 407 408 409 410 411 |
# File 'lib/cosmos/gui/qt.rb', line 405 def all = [] (0...self.count()).each do |index| all << self.(index) end all end |