2002-09-21 Miguel de Icaza <miguel@ximian.com>
* gtk/TreeView.custom: Add Model.set to the TreeView svn path=/trunk/gtk-sharp/; revision=7708
This commit is contained in:
parent
301db575de
commit
30e12e9130
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-09-21 Miguel de Icaza <miguel@ximian.com>
|
||||
|
||||
* gtk/TreeView.custom: Add Model.set to the TreeView
|
||||
|
||||
2002-09-21 Rachel Hestilow <hestilow@ximian.com>
|
||||
|
||||
* parser/gapi2xml.pl: Adjust enum regex to allow negative values.
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
[DllImport("gtk-x11-2.0")]
|
||||
static extern IntPtr gtk_tree_view_get_model (IntPtr raw);
|
||||
|
||||
[DllImport("gtk-x11-2.0")]
|
||||
static extern IntPtr gtk_tree_view_set_model (IntPtr raw);
|
||||
|
||||
/// <summary>Model Property</summary>
|
||||
/// <remarks>Gets the model being displayed by the TreeView
|
||||
/// </remarks>
|
||||
|
@ -19,4 +22,8 @@
|
|||
Gtk.TreeModel ret = (Gtk.TreeModel) GLib.Object.GetObject (raw_ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
set {
|
||||
gtk_tree_view_set_model (Value.Handle);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue