mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 17:15:29 +00:00
29 lines
515 B
C#
29 lines
515 B
C#
|
// Gdk.Event.cs - Custom event wrapper
|
||
|
//
|
||
|
// Author: Rachel Hestilow <hestilow@ximian.com>
|
||
|
//
|
||
|
// (c) 2002 Rachel Hestilow
|
||
|
|
||
|
|
||
|
namespace Gdk {
|
||
|
|
||
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Runtime.InteropServices;
|
||
|
|
||
|
public class Event : GLib.Object {
|
||
|
|
||
|
[DllImport("gtksharpglue")]
|
||
|
static extern EventType gtksharp_gdk_event_get_event_type (IntPtr evt);
|
||
|
|
||
|
public Event(IntPtr raw) : base(raw) {}
|
||
|
|
||
|
public EventType Type {
|
||
|
get {
|
||
|
return gtksharp_gdk_event_get_event_type (Handle);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|