class Gtk::TreeIter

Public Instance Methods

next_with_children() click to toggle source
# File lib/Gtk.rb, line 74
def next_with_children
        ret=nil
        if self.has_child?
                ret=self.first_child
        else
                if clone.next!
                        self.next!
                        ret=self
                        else
                        if par=self.parent
                                if par.clone.next!
                                        par.next!
                                        ret=par
                                end
                        end
                end
        end
        ret
end