[Gtk-sharp-list] How to initially set focus for modal dialog regardless taskbar?
bluedzins at wp.pl
Mon May 3 14:46:16 EDT 2010
On Monday 03 May 2010 17:27:42 Christopher David Howie wrote:
> Perhaps try adding an event handler to the dialog's Delete event.
> This is the event that is raised when the user clicks the X in the
> window's title bar. Do a Console.WriteLine() or something to see
> when it happens.
I did, the first click is dead silent.
> If, on the other hand, you don't get any message on the console
> when you click the X for the first time, then it sounds like your
> window manager might not be passing the event on to your
This is odd, because it works for main window without any problem.
Also -- in dialog I have OK and cancel buttons (they both close the
dialog), and those also work without a problem.
I will try to do minimal test-case and test it under Windows or
various WM as well.
More information about the Gtk-sharp-list