Re: [gtk-list] Re: modal windows ?



It will be a modal window, you first at all have to anwer it, but it
_doesn't stay_ on top of the application. This I've mentioned three
times in this mailing list, but nobody anwered, why not.

Markus

Lawrence Sim wrote:
> 
> use
> (void) gtk_grab_add(window); /* just after window displayed */
> and
> (void) gtk_grab_remove(window); /* after ok is clicked */
> to make a window modal, then to remove it afterwards.
> Mario Motta wrote:
> >
> > hello,
> > perhaps an old question, but someone could answer to me:
> > - how can make a child window a modal one ?
> > - in other word if i make a child dialog window from inside a window how
> > can make the 'parent' deactivated (no receive signals nor events) so i
> > can interrupt the user activity until in this task pushes an OK button ?
> > - how can make the dialog stays "always on top" ?
> >
> > thanks a lot.
> >
> > --
> > To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> --
> Lawrence Sim
> http://www.tne.net.au/wanderer/
> mailto:lasim@earthling.net
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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