Esempio n. 1
0
        // Constructor
        public HandleView()
        {
            this.model             = new HandleModel();
            ((TreeView)this).Model = model;

            RulesHint       = true;
            EnableSearch    = false;
            HeadersVisible  = false;
            FixedHeightMode = true;
        }
Esempio n. 2
0
            // Delegate Functions
            // Delegate Functions :: Func
            public void Func(TreeModel model, TreePath path, TreeIter iter)
            {
                HandleModel m = (HandleModel)model;

                selected.Append(m.HandleFromIter(iter));
            }
Esempio n. 3
0
        static void rowhaschildtoggled_cb(IntPtr tree_model, IntPtr path, ref Gtk.TreeIter iter)
        {
            HandleModel obj = GLib.Object.GetObject(tree_model, false) as HandleModel;

            obj.OnRowHasChildToggled(new Gtk.TreePath(path), iter);
        }
Esempio n. 4
0
        static void rowinserted_cb(IntPtr tree_model, IntPtr path, ref Gtk.TreeIter iter)
        {
            HandleModel obj = GLib.Object.GetObject(tree_model, false) as HandleModel;

            obj.OnRowInserted(new Gtk.TreePath(path), iter);
        }
Esempio n. 5
0
        static void rowdeleted_cb(IntPtr tree_model, IntPtr path)
        {
            HandleModel obj = GLib.Object.GetObject(tree_model, false) as HandleModel;

            obj.OnRowDeleted(new Gtk.TreePath(path));
        }
Esempio n. 6
0
        static void rowsreordered_cb(IntPtr tree_model, IntPtr path, ref Gtk.TreeIter iter, out int new_order)
        {
            HandleModel obj = GLib.Object.GetObject(tree_model, false) as HandleModel;

            obj.OnRowsReordered(new Gtk.TreePath(path), iter, out new_order);
        }