-
Gtk window
Hi. I'm new to GTK programming and i started developing an app, but i got stuck at the point of moving from a window to another.
Precisely, a have a main window, and after the user clicks on a button, it should appear another window, and the other should dissapear.
I would like to know how to do that.. i searched on the web a lot but i couldn't find any good resources.
Thanks
-
I'm not an expert on GTK, but you should be okay using "gtk_widget_destroy" on the main window and create/show the secondary window. Just be sure you're not connecting the exit function to the destruction of the first window.