Re: wondow always on top level..



  Hi Antonio,

  I think you want the child window to be modal:

  gtk_window_set_modal (GTK_WINDOW (window), TRUE);

  Take care.


On Fri, 10 Dec 2004 12:10:26 -0200 (BRST), Antônio Gomes
<agan ufam edu br> wrote:
> Hello all.
> 
> How can I create an gtk_window and keep it always on top level: the parent
> window will be active again only when the user close new child window
> created ..
> 
> like
> 
> *****window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
> 
> but always with focus in (until close it)
> 
> thanks in advance
> 
> --
> Antônio Gomes
> Computer Science - Amazonas Federal University - VoIP Lab
> Instituto Nokia de Tecnologia - Embedded Linux Lab
> AM - Brazil
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 


-- 
Arnaldo M. Pereira
egghunt at gmail.com
http://www.ansi-c.org/~arnaldo



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