Class: Qt::TabWidget
Instance Method Summary collapse
- #[](index) ⇒ Object
- #clear ⇒ Object
-
#tabs ⇒ Object
return the collection of tabs.
Instance Method Details
#[](index) ⇒ Object
287 288 289 |
# File 'lib/qtext/extensions.rb', line 287 def []( index ) self.( index ) end |
#clear ⇒ Object
291 292 293 |
# File 'lib/qtext/extensions.rb', line 291 def clear remove_tab( count - 1 ) while count > 0 end |
#tabs ⇒ Object
return the collection of tabs.
283 284 285 |
# File 'lib/qtext/extensions.rb', line 283 def tabs tabs = (0...count).map{|i| self.( i ) } end |