Class: Gtk::TreeIter

Inherits:
Object
  • Object
show all
Defined in:
lib/Gtk.rb

Instance Method Summary collapse

Instance Method Details

#next_with_childrenObject



74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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