Re: Why?



Am Mon, 22 May 2000 schrieb John Hawk:
>Just a thought.
>
>Why don't we have a gtk_paned_get_position (GtkWidget *paned)

you can use 

gint        x;
gint        y;
gint        width;
gint        height;
gint        deep;
gdk_window_get_geometry( paned->child1->window, &x, &y,
&height, &width, &deep );

for the paned argument you have to cast from GtkHPaned or
GtkVPaned to GtkPaned

hope that helps
detlef

btw
Why? do you have a so usefull subject?
>
>So many times in gtk we have the function but not the converse.
>Obviously setting the position is important but what about monitoring the
>position to take action on changes.
>
> -- 
>John Hawk 
>Email:john.hawk@gte.net
>
>
>_______________________________________________
>gnome-devel-list mailing list
>gnome-devel-list@gnome.org
>http://mail.gnome.org/mailman/listinfo/gnome-devel-list
--
detlef.reichl@arcormail.de
   Teatime.sourceforge.net
   Mounter.sourceforge.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]