lib/knj/ironruby-gtk2/gtk_combobox.rb in knjrbfw-0.0.8 vs lib/knj/ironruby-gtk2/gtk_combobox.rb in knjrbfw-0.0.9

- old
+ new

@@ -1,19 +1,19 @@ class Gtk::ComboBox - def pack_start(widget, val) - @ob.pack_start(widget.ob, val) - @ob.add_attribute(widget.ob, "text", 0) - end - - def add_attribute(*paras) - #this should not do anything. - end - - def model=(newmodel) - @model = newmodel - @ob.model = newmodel.ob - end - - def model - return @model - end + def pack_start(widget, val) + @ob.pack_start(widget.ob, val) + @ob.add_attribute(widget.ob, "text", 0) + end + + def add_attribute(*paras) + #this should not do anything. + end + + def model=(newmodel) + @model = newmodel + @ob.model = newmodel.ob + end + + def model + return @model + end end \ No newline at end of file