From 79915057437b92095ed44667c269c8650a77a298 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 30 Oct 2019 13:21:06 +0100 Subject: Add GdkEvent and KeyPressHandler --- src/Gdk/Internal.dcl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/Gdk/Internal.dcl (limited to 'src/Gdk/Internal.dcl') diff --git a/src/Gdk/Internal.dcl b/src/Gdk/Internal.dcl new file mode 100644 index 0000000..ccc157e --- /dev/null +++ b/src/Gdk/Internal.dcl @@ -0,0 +1,10 @@ +definition module Gdk.Internal + +from StdMaybe import :: Maybe + +from System._Pointer import :: Pointer + +gdk_event_get_keyval :: !Pointer -> Maybe Int + +gdk_keyval_from_name :: !String -> Int +gdk_keyval_name :: !Int -> String -- cgit v1.2.3