Re: gtk_window_set_transi



GtkWidget* ask_window;

ask_window = gtk_window_new(GTK_WINDOW_DIALOG);
gtk_window_set_transient_for(GTK_WINDOW(ask_window), 
GTK_WINDOW(main_window));
gtk_widget_show_all(GTK_WIDGET(ask_window));

I think you need this function, after gtk_widget_show_all:

gtk_grab_add (ask_window);

If I am wrong, then perhaps you should
try your code with a few diferent window 
managers,

If the problem persists, then you might
start looking for something else (you
can prepare a small program, with
as few lines as possible, about 10-20 lines,
to try to understand what is going on)

Carlos



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