[Mono-list] Gtk Fixed Z-order

Chris Howie cdhowie at gmail.com
Fri Dec 12 06:24:29 EST 2008

On Fri, Dec 12, 2008 at 5:32 AM,  <nickstaves at codesnippersteam.com> wrote:
> Yes. Exists. But for my case I need dialog without frame, that cannot be
> moved and main window should not have an ability to be activated while
> dialog is shown. Now when I show modal dialog I could click on the main
> window under and it will cover popup.
> Perhaps someone know how to attribute the dialog with mentioned behaviour?

Without a frame I'm not sure, but if you set the Dialog's TransientFor
property to the parent Window you want it to cover, clicking the
parent will instead raise both the parent and the Dialog, in that
order.  (In other words, it will never allow the parent, disabled
Window from being raised above the Dialog.)

Chris Howie

More information about the Mono-list mailing list