Re: removing transient property of a window



mquezada nlxcorp com wrote:

I use the following code to make a menu window stay on top of the
drawing area window:

gtk_window_set_transient_for(GTK_WINDOW(menu_window),
                             GTK_WINDOW(draw_area));

This works great except that if the drawing area window is destroyed
then the other window disappears with it.... How can I remove the
transient properties of the menu when the drawing is closed?

Have you tried
gtk_window_set_transient_for (GTK_WINDOW (menu_window), NULL);
at the appropriate time?



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