Class: KDE::ComboBox
- Includes:
- ListLike
- Defined in:
- lib/rui/toolkits/qtbase/qt.rb
Defined Under Namespace
Classes: Item
Instance Method Summary collapse
Methods included from ListLike
included, #reset_from_a, #select_item
Instance Method Details
#create_item(text, data) ⇒ Object
540 541 542 |
# File 'lib/rui/toolkits/qtbase/qt.rb', line 540 def create_item(text, data) add_item(text, Qt::Variant.from_ruby(data)) end |
#current_item ⇒ Object
544 545 546 |
# File 'lib/rui/toolkits/qtbase/qt.rb', line 544 def current_item item(current_index) end |