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
|
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gdk {
using System;
using System.Runtime.InteropServices;
#region Autogenerated code
public partial class Keyboard {
[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gdk_keyboard_grab(IntPtr window, bool owner_events, uint time_);
[Obsolete]
public static Gdk.GrabStatus Grab(Gdk.Window window, bool owner_events, uint time_) {
int raw_ret = gdk_keyboard_grab(window == null ? IntPtr.Zero : window.Handle, owner_events, time_);
Gdk.GrabStatus ret = (Gdk.GrabStatus) raw_ret;
return ret;
}
[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gdk_keyboard_ungrab(uint time_);
[Obsolete]
public static void Ungrab(uint time_) {
gdk_keyboard_ungrab(time_);
}
#endregion
}
}
|