mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 12:35:37 +00:00
d41f6593b0
* art/Art.metadata : mark a field private * art/art-api.xml : regen * gda/Gda.metadata : mark a few structs opaque * gda/gda-api.xml : regen * gdk/*.custom : fix changed field names * gdk/gdk-api.xml : regen * generator/Field.cs : StudlyCase simple typed field names. * gnome/Gnome.metadata : mark FontEntry.weight private to avoid collision with Weight field. s|//|/api/namespace|g * gnome/gnome-api.xml : regen * gtk/Gtk.metadata : rename AccelKey.accel_key to key to avoid collision with type name. * gtk/*.custom : fix changed field names * gtk/gtk-api.xml : regen * pango/pango-api.xml : regen * parser/gapi_pp.pl : add a private_regex to hide BACKEND and ENGINE apis, which are by convention private. * sample/* : make compile * sample/GtkDemo/* : make compile * sample/test/* : make compile * sources/gtk-sharp-sources.xml : exclude a bunch of pango source files. svn path=/trunk/gtk-sharp/; revision=22947
28 lines
597 B
Plaintext
28 lines
597 B
Plaintext
//
|
|
// gdk/EventKey.custom
|
|
//
|
|
// Authors: Charles Iliya Krempeaux <charles@reptile.ca>
|
|
// Gustavo Giraldez <gustavo.giraldez@gmx.net>
|
|
//
|
|
// Copyright (C) 2003 Reptile Consulting & Services Ltd.
|
|
// Copyright (C) 2003 Charles Iliya Krempeaux.
|
|
// Copyright (C) 2004 Gustavo Giraldez
|
|
//
|
|
|
|
[DllImport("libgdk-win32-2.0-0.dll")]
|
|
static extern IntPtr gdk_event_get_type();
|
|
|
|
public static GLib.GType GType {
|
|
get {
|
|
IntPtr raw_ret = gdk_event_get_type();
|
|
GLib.GType ret = new GLib.GType(raw_ret);
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
public Gdk.Key Key {
|
|
get {
|
|
return (Gdk.Key) this.Keyval;
|
|
}
|
|
}
|