// Constructor public HandleView() { this.model = new HandleModel(); ((TreeView)this).Model = model; RulesHint = true; EnableSearch = false; HeadersVisible = false; FixedHeightMode = true; }
// Delegate Functions // Delegate Functions :: Func public void Func(TreeModel model, TreePath path, TreeIter iter) { HandleModel m = (HandleModel)model; selected.Append(m.HandleFromIter(iter)); }
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); }
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); }
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)); }
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); }