[Gtk-sharp-list] GLib.Idle.Add and parameters

Mike Kestner mkestner@ximian.com
Tue, 16 Mar 2004 10:49:20 -0600


On Sun, 2004-03-14 at 04:10, Iain McCoy wrote:

> But in gtk#, public static uint Add (IdleHandler hndlr) - nowhere for a
> parameter to go. IdleHandler doesn't take any arguments.

That's because all you need to do is attach a delegate wrapping an
instance method and you have access to all the instance data of your
object.

-- 
Mike Kestner <mkestner@ximian.com>