class Gtk::TreeIter
Attributes
owner[RW]
Public Instance Methods
[](i)
click to toggle source
# File lib/gtk/tree_iter.rb, line 10 def [] i val = FFI::MemoryPointer.new(:float,1) # TODO: lookup column type owner.get(self,:int,i,:pointer,val,:int,-1) val.read_float end
[]=(i,value)
click to toggle source
# File lib/gtk/tree_iter.rb, line 16 def []= i,value owner.set(self,:int,i, case value when String :string when Fixnum :int when Float :float else raise value.class.name end, value,:int,-1) end