Class: Gtk2AppLib::Widgets::ComboBox

Inherits:
GtkComboBox
  • Object
show all
Defined in:
lib/gtk2applib/widgets/combo_box.rb

Overview

I'm a ComboBox!

Instance Method Summary collapse

Constructor Details

#initialize(*parameters, &block) ⇒ ComboBox



7
8
9
10
11
# File 'lib/gtk2applib/widgets/combo_box.rb', line 7

def initialize(*parameters, &block)
  list, *parameters = Parameters.map(parameters)
  super(*parameters, &block)
  list.each { |text| self.append_text(text) }
end

Instance Method Details

#modify_font(font) ⇒ Object



13
14
15
# File 'lib/gtk2applib/widgets/combo_box.rb', line 13

def modify_font(font)
  self.child.modify_font(font)
end