From a4d3692c044a59486014876518e8e0f6330cc76c Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Mon, 21 Apr 2003 15:31:08 +0000 Subject: [PATCH] 2003-04-16 Charles Iliya Krempeaux * gdk/EventKey.custom : Created it so that there is a "Key" property that returns a Gdk.Key. svn path=/trunk/gtk-sharp/; revision=13848 --- ChangeLog | 5 +++++ gdk/EventKey.custom | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 gdk/EventKey.custom diff --git a/ChangeLog b/ChangeLog index 7daac4245..a31df7016 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-16 Charles Iliya Krempeaux + + * gdk/EventKey.custom : Created it so that there + is a "Key" property that returns a Gdk.Key. + 2003-04-15 Gonzalo Paniagua Javier * gtk/TreeView.custom: diff --git a/gdk/EventKey.custom b/gdk/EventKey.custom new file mode 100644 index 000000000..9658a5471 --- /dev/null +++ b/gdk/EventKey.custom @@ -0,0 +1,15 @@ +// +// gdk/EventKey.custom +// +// Author: Charles Iliya Krempeaux +// +// Copyright (C) 2003 Reptile Consulting & Services Ltd. +// Copyright (C) 2003 Charles Iliya Krempeaux. +// + + +public Gdk.Key Key { + get { + return (Gdk.Key) this.keyval; + } +}