Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Test {
- public class MainClass {
- public static void Main (string[] args)
- {
- Gtk.Application.Init ();
- var w = new Gtk.Window ("Test");
- var t = new Gtk.TreeView ();
- t.ButtonPressEvent += delegate {
- Console.WriteLine ("Clicked");
- };
- w.Add (t);
- w.ShowAll ();
- Gtk.Application.Run ();
- }
- }
- }
Add Comment
Please, Sign In to add comment