Hi !

I want to include a widget created with Glade in
a dialog which I have already written.
The problem is, that that I can't create the
glade widget without a window around it.
I tried to remove it:

 window=create_gladewidget();
 list=gtk_container_children(GTK_CONTAINER(window));
 widget=GTK_WIDGET(list->data);
 g_list_free(list);
 gtk_container_remove(GTK_CONTAINER(window),widget);
 gtk_widget_destroy(window);

 gtk_container_add(GTK_CONTAINER(my_dialog),widget);

But when I destroy the window, the glade widget gets destroyed
too although I removed it from the window.

Can someone help me?

Uwe
   



+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to