[Gtk-sharp-list] catching mouse click or keypress event outside my window?

Federico Mena Quintero federico@ximian.com
Fri, 17 Sep 2004 21:01:26 -0500


On Thu, 2004-09-16 at 19:10 +0200, Anset wrote:

> Is there a way to do this?
> 
> I have a window and I would like it to "beep" when the user clicks outside
> the window...

You can't really do that unless you hold a mouse grab.  However, holding
grabs for a long time is considered extremely rude, unless you are doing
something like an embedded app where there are no other windows around.

  Federico