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
446 447 448 |
# File 'lib/cosmos/gui/qt.rb', line 446 def currentWidget self.(self.currentIndex) end |
#tab(index) ⇒ Object
433 434 435 |
# File 'lib/cosmos/gui/qt.rb', line 433 def tab(index) (index) end |
#widgets ⇒ Object Also known as: tabs
437 438 439 440 441 442 443 |
# File 'lib/cosmos/gui/qt.rb', line 437 def all = [] (0...self.count()).each do |index| all << self.(index) end all end |