Class: Gtk::ComboBoxText

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk4/combo-box-text.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ComboBoxText

Returns a new instance of ComboBoxText.



20
21
22
23
24
25
26
27
28
# File 'lib/gtk4/combo-box-text.rb', line 20

def initialize(options={})
  entry = options[:entry]

  if entry
    initialize_new_with_entry
  else
    initialize_new
  end
end

Instance Method Details

#initialize_rawObject



19
# File 'lib/gtk4/combo-box-text.rb', line 19

alias_method :initialize_raw, :initialize