Sha256: 03940bbdd9984e5f0f3b4da0dfa9b190b59b69bd892f667ff9ca0bd079c8cdd4

Contents?: true

Size: 330 Bytes

Versions: 101

Compression:

Stored size: 330 Bytes

Contents

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
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.9 lib/knj/ironruby-gtk2/gtk_combobox.rb