Re: help - sample events
"Mariusz Mart" <[email protected]>
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
Yeah!!! You are great! :)))))))) Thank a lot!! Such things should be in Monkey Guide! >>> Mike Kestner <[email protected]> 08/07/06 3:15 PM >>> On Mon, 2006-08-07 at 10:32 +0100, Mariusz Mart wrote: Add this: [GLib.ConnectBefore] > private void onBottonClick(object o,ButtonPressEventArgs args){ > System.Console.WriteLine("klik"); > Application.Quit(); > } > } Look Gtk# Faq item 3.3: http://gtk-sharp.sourceforge.net/faq.html#3.3 The default behavior of Gtk.Button is to emit Clicked events on button presses. If all you want to do is respond when a user clicks the button, you should connect to that event. -- Mike Kestner <[email protected]> SUSE® Linux Enterprise 10 Your Linux is ready* www.novell.com/linux _______________________________________________ Mono-docs-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-docs-list