RE: Parent of a widget



I tried that too , but it won't work .
Returns 0.

Does it work for you ?



-----Original Message-----
From: gtk-list-admin gnome org [mailto:gtk-list-admin gnome org] On
Behalf Of Matthew Russell
Sent: Wednesday, August 22, 2001 10:27 PM
To: gtk-list gnome org
Subject: Re: Parent of a widget


I use GTK_WIDGET(clist)->parent

Is this an OK thing to do? It's not mentioned in the API docs,

Matthew R

Michael wrote:
> Im still having problem with this
> 
> I have a GtkCList* and I want to find the GtkWidget* of the window 
> that the listbox is in.
> 
> Any options ? gtk_window_get_parent will not work.


_______________________________________________
gtk-list mailing list
gtk-list gnome org http://mail.gnome.org/mailman/listinfo/gtk-list





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