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.





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