[Glade-users] glade and/or gtkmm, insert a FileChooserDialog inside a Notebook tab



Hi,

I would like to have a `FileChooserDialog` in a tab of a `Notebook`
when I summon it. When I try to move the `FileChooserDialog` over the
`Notebook`, glade seems to runs an infinite loop, in the console I get
continuously :

?
?(glade:12662): Gtk-CRITICAL **: gtk_container_remove: assertion
?'gtk_widget_get_parent (widget) == GTK_WIDGET (container) ||
?GTK_IS_ASSISTANT (container) || GTK_IS_ACTION_BAR (container)' failed
?

I tried inside my program to get what I want with that code :

?
?  Notebook->append_page( FileChooserDialog, "whatever" );
?

but I got these two messages :

?
?Gtk-CRITICAL **: gtk_widget_set_child_visible:
?assertion !gtk_widget_is_toplevel (widget)' failed
?Gtk-WARNING **: Can't set a parent on a toplevel widget
?

there is a way to do what I want ?

regards,
/nicoo




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