mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* mapdllnames.pl : a little whitespace action * api/*-api.xml : move to win32 dllnames * */makefile.win32 : remove the mapdllnames step * */*.cs : move to win32 dllnames * */*.custom : move to win32 dllnames * sources/gtk-sharp.sources : move to win32 dllnames svn path=/trunk/gtk-sharp/; revision=11823
23 lines
934 B
Plaintext
23 lines
934 B
Plaintext
// Gtk.TreeSelection.Custom - Gtk TreeSelection calss customizations
|
|
//
|
|
// Author: Kristian Rietveld <kris@gtk.org>
|
|
//
|
|
// (c) 2002 Kristian Rietveld
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
|
|
|
|
/// <summary> GetSelected Method </summary>
|
|
/// <remarks> To be completed </remarks>
|
|
|
|
[DllImport("libgtk-win32-2.0-0.dll")]
|
|
static extern bool gtk_tree_selection_get_selected(IntPtr raw, out IntPtr model, ref Gtk.TreeIter iter);
|
|
|
|
public bool GetSelected(out Gtk.TreeModel model, ref Gtk.TreeIter iter) {
|
|
IntPtr handle = (IntPtr) 0;
|
|
bool raw_ret = gtk_tree_selection_get_selected(Handle, out handle, ref iter);
|
|
bool ret = raw_ret;
|
|
model = (Gtk.TreeModel)GLib.Object.GetObject (handle);
|
|
return ret;
|
|
}
|