Ben, 

That worked - thanks for the help!

I did see the mention about  [GLib.ConnectBefore]  in the FAQ
regarding buttons/treeviews, but didn't realize it applied to other
widgets as well.

Thanks again,
-mike

On 7/28/05, Ben Motmans <[EMAIL PROTECTED]> wrote:
> 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