[Gtk-sharp-list] Gtk.Timeout parameters

Mike Kestner mkestner@speakeasy.net
Tue, 28 Oct 2003 00:36:45 -0600


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.

-- 
Mike Kestner <mkestner@speakeasy.net>