Files
KioskApp/GtkSharp/Source/Libs/GdkSharp/Generated/Gdk/Keyboard.cs
2024-09-15 22:40:48 +02:00

35 lines
1.2 KiB
C#

// 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 {
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int d_gdk_keyboard_grab(IntPtr window, bool owner_events, uint time_);
static d_gdk_keyboard_grab gdk_keyboard_grab = FuncLoader.LoadFunction<d_gdk_keyboard_grab>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Gdk), "gdk_keyboard_grab"));
[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;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate void d_gdk_keyboard_ungrab(uint time_);
static d_gdk_keyboard_ungrab gdk_keyboard_ungrab = FuncLoader.LoadFunction<d_gdk_keyboard_ungrab>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Gdk), "gdk_keyboard_ungrab"));
[Obsolete]
public static void Ungrab(uint time_) {
gdk_keyboard_ungrab(time_);
}
#endregion
}
}