1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gtk {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
public partial class Grab {
[DllImport("gtk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gtk_grab_add(IntPtr widget);
public static void Add(Gtk.Widget widget) {
gtk_grab_add(widget == null ? IntPtr.Zero : widget.Handle);
}
[DllImport("gtk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gtk_grab_get_current();
public static Gtk.Widget Current {
get {
IntPtr raw_ret = gtk_grab_get_current();
Gtk.Widget ret = GLib.Object.GetObject(raw_ret) as Gtk.Widget;
return ret;
}
}
[DllImport("gtk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gtk_grab_remove(IntPtr widget);
public static void Remove(Gtk.Widget widget) {
gtk_grab_remove(widget == null ? IntPtr.Zero : widget.Handle);
}
#endregion
}
}
|