Re: gtk_window_set_transi
- From: Carlos Pereira <carlos pehoe civil ist utl pt>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_window_set_transi
- Date: Sun, 16 Jun 2002 00:41:01 +0100
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]