On 7/28/05, Mike Voytovich <[EMAIL PROTECTED]> wrote:
> ...
>         static void keypress_event(object obj, KeyPressEventArgs args)
>         {
>                         System.Console.WriteLine("Keypress: {0}", 
> args.Event.Key);
>         }
> ...

you need to add the [GLib.ConnectBefore ()] attribute to the method
that receives the event, to make sure the method is invoked before the
default signal handler

in other words:
[GLib.ConnectBefore ()]
static void keypress_event (....)

-- Ben
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to