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 40 41 42 43 44
|
// 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 Pointer {
[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern int gdk_pointer_grab(IntPtr window, bool owner_events, int event_mask, IntPtr confine_to, IntPtr cursor, uint time_);
[Obsolete]
public static Gdk.GrabStatus Grab(Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window confine_to, Gdk.Cursor cursor, uint time_) {
int raw_ret = gdk_pointer_grab(window == null ? IntPtr.Zero : window.Handle, owner_events, (int) event_mask, confine_to == null ? IntPtr.Zero : confine_to.Handle, cursor == null ? IntPtr.Zero : cursor.Handle, time_);
Gdk.GrabStatus ret = (Gdk.GrabStatus) raw_ret;
return ret;
}
[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern bool gdk_pointer_is_grabbed();
[Obsolete]
public static bool IsGrabbed {
get {
bool raw_ret = gdk_pointer_is_grabbed();
bool ret = raw_ret;
return ret;
}
}
[DllImport("gdk-3-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern void gdk_pointer_ungrab(uint time_);
[Obsolete]
public static void Ungrab(uint time_) {
gdk_pointer_ungrab(time_);
}
#endregion
}
}
|