Thanks Tadej , it's useful. Now I created a popup window and connected to
the main window.
I want to hide the popup window when the 'OK' button was clicked and I
implement it using code
g_signal_connect_swapped ( ... );

however, this way is a hybrid solution.
Is there anyway to do it in glade?

Thanks,

On Wed, May 20, 2009 at 1:03 AM, Tadej Borovšak <tadeb...@gmail.com> wrote:

> Hello.
>
> Both manually creating a dialog and using glade to do it are valid
> choices in this case. What you'll do depends on the complexity of the
> dialog (complex layout can be easier to create using glade).
>
> I wrote a simplistic blog post about dialogs in GTK+ which you may
> find useful. It displays both methods of creating a dialog windows -
> from code and with glade. You can find it here:
> http://tadeboro.blogspot.com/2009/05/using-pop-up-windows.html
>
> Hope you'll find it useful.
>
> 2009/5/20 frank zhu <frank.zhu.min...@gmail.com>:
> > hi,
> > I am new to GTK+ development and I used glade3 to create my application
> > window which contains a menu.  If a menu item is activated, I want to
> popup
> > another window.
> > I think the easiest way is to write a callback function to create it in C
> > code, but is this the common way? or is it possible to create that window
> > using glade3?
> >
> > I can provide my source code and glade file if needed.
> > Thanks,
> > _______________________________________________
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> >
>
>
>
> --
> Tadej Borovšak
> tadeboro.blogspot.com
> tadeb...@gmail.com
> tadej.borov...@gmail.com
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to