示例#1
0
        // Constructor
        public HandleView()
        {
            this.model             = new HandleModel();
            ((TreeView)this).Model = model;

            RulesHint       = true;
            EnableSearch    = false;
            HeadersVisible  = false;
            FixedHeightMode = true;
        }
示例#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));
            }
示例#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);
        }
示例#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);
        }
示例#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));
        }
示例#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);
        }