Re: [gtk-list] gtk_widget_set




On 15 May 1999 hubert.fauque@wanadoo.fr wrote:
> 		      "GtkWidget::parent", box3,

Somewhat unpredictably, this is actually equivalent to:

 gtk_container_add(GTK_CONTAINER(box3), tips_query);

> I supposed that would be the same as:
> 
>   gtk_tips_query_set_caller (GTK_TIPS_QUERY(tips_query), GTK_WIDGET(button));
>   gtk_widget_set_parent (GTK_WIDGET(tips_query), GTK_WIDGET(box3));

set_parent() is an internal Gtk function, pretty much.

Havoc



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