Is GtkAssistant a toplevel widget?



Hi,


I want anybody can help me as follows.


On the GTK3.0 manual, "gtk_widget_is_toplevel()" part says that "Currently only 
GtkWindow<https://developer.gnome.org/gtk3/stable/GtkWindow.html> and 
GtkInvisible<https://developer.gnome.org/gtk3/stable/GtkInvisible.html> (and out-of-process 
GtkPlugs<https://developer.gnome.org/gtk3/stable/GtkPlug.html#GtkPlug-struct>) are toplevel widgets." 
However, when I use GtkAssistant, the error occurred "Gtk-WARNING **: Can't set a parent on a toplevel 
widget." . Actually, GtkAssistant is a toplevel widget. Can I use GtkAssistant as a non toplevel widget? If 
yes, how to use it?


Thanks,


Song



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