本文整理汇总了C#中EventMask类的典型用法代码示例。如果您正苦于以下问题:C# EventMask类的具体用法?C# EventMask怎么用?C# EventMask使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
EventMask类属于命名空间,在下文中一共展示了EventMask类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: XSelectInput
extern public static void XSelectInput(IntPtr x11display, IntPtr x11window, EventMask eventMask);
示例2: XSelectInput
static extern IntPtr XSelectInput(IntPtr window, IntPtr display, EventMask mask);
示例3: SelectInput
internal static extern void SelectInput(Display display, Window w, EventMask event_mask);
示例4: XGrabPointer
internal extern static int XGrabPointer(IntPtr display, IntPtr window, bool owner_events, EventMask event_mask, GrabMode pointer_mode, GrabMode keyboard_mode, IntPtr confine_to, IntPtr cursor, IntPtr timestamp);
示例5: XSendEvent
public static int XSendEvent(IntPtr display, IntPtr window, bool propagate, EventMask event_mask, ref XEvent send_event)
{
return XSendEvent(display, window, propagate, new IntPtr((int)event_mask), ref send_event);
}
示例6: Retrieve
/// <summary>
/// Retrieve events of a certain type
/// </summary>
/// <param name="eventMask">Event to retrieve</param>
/// <returns>Array containing events</returns>
public static SdlEventArgs[] Retrieve(EventMask eventMask)
{
return Retrieve(eventMask, QUERY_EVENTS_MAX);
}
示例7: XSelectInput
internal extern static IntPtr XSelectInput (IntPtr display, IntPtr window, EventMask mask);
示例8: XCheckMaskEvent
internal extern static bool XCheckMaskEvent (IntPtr display, EventMask mask, ref XEvent xevent);
示例9: XCheckWindowEvent
internal extern static bool XCheckWindowEvent (IntPtr display, IntPtr window, EventMask mask, ref XEvent xevent);
示例10: CheckMaskEvent
public static bool CheckMaskEvent(IntPtr display, EventMask event_mask, ref XEvent event_return);
示例11: SelectInput
public static void SelectInput(IntPtr display, IntPtr w, EventMask event_mask);
示例12: XSelectInput
private extern static IntPtr XSelectInput (IntPtr window, IntPtr display, EventMask mask);
示例13: XSendEvent
public static extern int XSendEvent(IntPtr display, IntPtr w, bool propagate, EventMask mask, ref XEvent e);
示例14: Remove
/// <summary>
/// Remove all events of a certain type
/// </summary>
/// <param name="eventMask">
/// Events to remove
/// </param>
public static void Remove(EventMask eventMask)
{
Remove(eventMask, QUERY_EVENTS_MAX);
}
示例15: XSendEvent
internal extern static int XSendEvent (IntPtr display, IntPtr window, bool propagate, EventMask event_mask, ref XEvent send_event);