Example #1
0
 public static void Main(string[] args)
 {
     Application.Init ();
     CheckovUI win = new CheckovUI ();
     win.Show ();
     win.Start ();
     Application.Run ();
 }
Example #2
0
    public Checklist(CheckovUI parent, Gtk.TreeView tree)
    {
        items = new List<Entry> ();
        listStore = new Gtk.ListStore (typeof(string), typeof(bool), typeof(string));

        this.parent = parent;

        tree.AppendColumn ("Item", new Gtk.CellRendererText (), "text", 0);
        tree.AppendColumn ("Complete", new Gtk.CellRendererToggle (), "active", 1);
        tree.AppendColumn ("Notes", new Gtk.CellRendererText (), "text", 2);

        tree.Model = listStore;
    }