restarting gtk_main()
- From: Jens Askengren <dat98jas ludat lth se>
- To: gtk-list redhat com
- Subject: restarting gtk_main()
- Date: Fri, 12 Feb 1999 15:37:36 +0100 (MET)
I am curently developing a GTK+ replacement for xdm. One of the main
features will be a possibility to restart the X-server in a different
resolution when loging in. However, for this to work I have to enter and
exit the gtk_main()-routine each time somone logs in. After a gtk restart,
some widgets does not get updated properly.
This is what I do:
----BEGIN PSEUDO CODE----
gtk_setlocale(..
gtk_init(...
<create the loginwindow with its childwidgets>
gtk_main();
<when somone logs in, gtk_main_quit() is called, and we return here>
----END SPEUDO CODE----
Do I have to explicit destroy each widget, or is it sufficient to destroy
the toplevel window before calling gtk_main_quit()?
Thanks in advance.
Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]