Re: [gtk-list] Re: Modal Dialog Box



Oliver Schulze wrote:
> 
> Markus Minihold wrote:
> >
> > Thanks a lot for your tip. The event loop now is captured by the dialog box
> > and you have to answer it. But what I'm missing is that a modal dialog box
> > stays always on top of the application window. I have now the affect that the
> > dialog box has to be anwered and that I can activate the parent window, which
> > overlaps the dialog box. Is there any functions which prevents this - e.g.
> > stay on top of application.
Oliver, I've tried it. But the mentioned function

gtk_widget_grab_focus(window);

doesn't do anything. Yes, the window appears on top of all application
windows, but it doesn't stay on top of the application. You can activate
the parent window which then overlaps the dialog window.

Markus



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