mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-14 09:35:31 +00:00
ad8ca4e74d
* gdk/Gdk.metadata : hide EventAny * gdk/Event.cs : make this a full EventAny implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : map EventAny to Gdk.Event. * glue/event.cs : expose window and send_event fields. svn path=/trunk/gtk-sharp/; revision=23134
37 lines
753 B
C
37 lines
753 B
C
/* event.c : Glue to access fields in GdkEvent.
|
|
*
|
|
* Authors: Rachel Hestilow <hestilow@ximian.com>
|
|
* Mike Kestner <mkestner@ximian.com>
|
|
*
|
|
* <c> 2002 Rachel Hestilow, Mike Kestner
|
|
* (c) 2004 Novell, Inc.
|
|
*/
|
|
|
|
|
|
#include <gdk/gdkevents.h>
|
|
|
|
/* Forward declarations */
|
|
GdkEventType gtksharp_gdk_event_get_event_type (GdkEvent *event);
|
|
GdkWindow* gtksharp_gdk_event_get_window (GdkEventAny *event);
|
|
gint8 gtksharp_gdk_event_get_send_event (GdkEventAny *event);
|
|
/* */
|
|
|
|
GdkEventType
|
|
gtksharp_gdk_event_get_event_type (GdkEvent *event)
|
|
{
|
|
return event->type;
|
|
}
|
|
|
|
GdkWindow*
|
|
gtksharp_gdk_event_get_window (GdkEventAny *event)
|
|
{
|
|
return event->window;
|
|
}
|
|
|
|
gint8
|
|
gtksharp_gdk_event_get_send_event (GdkEventAny *event)
|
|
{
|
|
return event->send_event;
|
|
}
|
|
|