mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-25 22:20:59 +00:00
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
|
@ -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>
|
2002-09-21 Rachel Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
* parser/gapi2xml.pl: Adjust enum regex to allow negative values.
|
* parser/gapi2xml.pl: Adjust enum regex to allow negative values.
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
[DllImport("gtk-x11-2.0")]
|
[DllImport("gtk-x11-2.0")]
|
||||||
static extern IntPtr gtk_tree_view_get_model (IntPtr raw);
|
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>
|
/// <summary>Model Property</summary>
|
||||||
/// <remarks>Gets the model being displayed by the TreeView
|
/// <remarks>Gets the model being displayed by the TreeView
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
|
@ -19,4 +22,8 @@
|
||||||
Gtk.TreeModel ret = (Gtk.TreeModel) GLib.Object.GetObject (raw_ret);
|
Gtk.TreeModel ret = (Gtk.TreeModel) GLib.Object.GetObject (raw_ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set {
|
||||||
|
gtk_tree_view_set_model (Value.Handle);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue