class Gtk::TreeIter
Public Class Methods
new(*paras)
click to toggle source
# File lib/knj/ironruby-gtk2/gtk_treeiter.rb, line 2 def initialize(*paras) if Gtk.takeob print "TreeIter from takeob.\n" @ob = Gtk.takeob Gtk.takeob = nil else print "TreeIter from constructor.\n" @ob = RealGtk::TreeIter.new(*paras) end end
Public Instance Methods
[](key)
click to toggle source
# File lib/knj/ironruby-gtk2/gtk_treeiter.rb, line 21 def [](key) return @liststore.ob.get_value(@ob, key) end
[]=(key, value)
click to toggle source
# File lib/knj/ironruby-gtk2/gtk_treeiter.rb, line 17 def []=(key, value) return @liststore.ob.method(:set_value).overload(RealGtk::TreeIter, Fixnum, System::String).call(@ob, key, value) end
liststore=(newliststore)
click to toggle source
# File lib/knj/ironruby-gtk2/gtk_treeiter.rb, line 13 def liststore=(newliststore) @liststore = newliststore end
model=(newmodel)
click to toggle source
# File lib/knj/jruby-gtk2/treeview.rb, line 102 def model=(newmodel) @knj_model = newmodel end