mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
30 lines
762 B
Plaintext
30 lines
762 B
Plaintext
// Gtk.TreeView.Custom - Gtk TreeView class customizations
|
|
//
|
|
// Author: Kristian Rietveld <kris@gtk.org>
|
|
//
|
|
// (c) 2002 Kristian Rietveld
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
|
|
[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>
|
|
public Gtk.TreeModel Model {
|
|
get {
|
|
IntPtr raw_ret = gtk_tree_view_get_model (Handle);
|
|
Gtk.TreeModel ret = (Gtk.TreeModel) GLib.Object.GetObject (raw_ret);
|
|
return ret;
|
|
}
|
|
|
|
set {
|
|
gtk_tree_view_set_model (value.Handle);
|
|
}
|
|
}
|