[Gtk-sharp-list] Gtk.Timeout parameters

Leo Spalteholz leo@thewoodpecker.ca
Mon, 27 Oct 2003 11:16:49 -0800


On October 27, 2003 10:36 pm, Mike Kestner wrote:
> On Mon, 2003-10-27 at 01:57, Leo Spalteholz wrote:
> > Gtk.Timeout.Add(2000, CheckButton);
> >
> > private bool CheckButton() {}
>
> Gtk.Timeout.Add (2000, new Gtk.Function (CheckButton));
>
> The parameter accepts a delegate.  You are passing it a method.

Beautiful.  That worked.  Thanks for the help.

~leo