Re: [gtk-list] Finding tree selection coordinates in scrolled window
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Finding tree selection coordinates in scrolled window
- Date: Sat, 17 Apr 1999 00:11:44 -0400
> I have a tree widget, inside of a scrolled window, whose child nodes I select
> programmatically. In order to ensure the selected child node is currently
> visible in the scrolled window, I believe I need to know its relative pixel
> offset in order to set the value of the scrolled window's vadjustment, which
> uses pixels for units. Am I correct in thinking this? Or is there a better
> way? How do I extract this info? I'm stumped.
You can use the gtk_ctree_node_is_visible() function for this.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]