Re: How to get the first visible row in a tree view?
- From: David Rosal <david rosal upf edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to get the first visible row in a tree view?
- Date: Sun, 13 Mar 2005 21:24:13 +0000
Gabriel de Perthuis wrote:
Le dimanche 13 mars 2005 Ã 20:59 +0000, David Rosal a Ãcrit :
It works!
It gives me a valid path and I can retrieve the filename.
But I get this warning:
Gtk-CRITICAL **: gtk_tree_view_get_path_at_pos: assertion
`tree_view->priv->bin_window != NULL' failed
Maybe the tree view isn't realised yet.
Grab devhelp for advanced gtk API lore, I think there's something about
that.
Good luck!
That's it. I have to make:
if (GTK_WIDGET_REALIZED(treeview)) {
...
}
Thanks.
- David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]