2004-02-16 Mike Kestner <mkestner@ximian.com>

* gdk/EventKey.cs : add a Key prop to return casted KeyVals.

svn path=/trunk/gtk-sharp/; revision=23152
This commit is contained in:
Mike Kestner 2004-02-16 22:04:27 +00:00
parent 49ba707675
commit 320c4f713d
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/EventKey.cs : add a Key prop to return casted KeyVals.
2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventKey

View file

@ -40,6 +40,12 @@ namespace Gdk {
}
}
public Key Key {
get {
return (Key) gtksharp_gdk_event_key_get_keyval (Handle);
}
}
public uint KeyValue {
get {
return gtksharp_gdk_event_key_get_keyval (Handle);