class Gtk::TreeIter

Public Instance Methods

==(other) click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 56
def ==(other)
  other.is_a?(self.class) and
    @model == other.model and
    path == other.path
end
[](column)
Alias for: get_value
[]=(column, value)
Alias for: set_value
get_value(column) click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 27
def get_value(column)
  @model.get_value(self, column)
end
Also aliased as: []
model() click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 19
def model
  @model
end
model=(model) click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 23
def model=(model)
  @model = model
end
next!() click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 48
def next!
  @model.iter_next(self)
end
parent() click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 52
def parent
  @model.iter_parent(self)
end
path() click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 44
def path
  @model.get_path(self)
end
set_value(column, value) click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 32
def set_value(column, value)
  gtype = @model.get_column_type(column)
  gvalue = GLib::Value.new(gtype, value)
  @model.set_value(self, column, gvalue)
end
Also aliased as: []=
set_values(values) click to toggle source
# File gtk3/lib/gtk3/tree-iter.rb, line 39
def set_values(values)
  @model.set_values(self, values)
end
Also aliased as: values=
values=(values)
Alias for: set_values