diff options
author | Camil Staps | 2019-10-30 13:21:06 +0100 |
---|---|---|
committer | Camil Staps | 2019-10-30 13:21:06 +0100 |
commit | 79915057437b92095ed44667c269c8650a77a298 (patch) | |
tree | 7ff268809cc3a6b9c842d0b40bf42da7eabf9fd0 /src/Gtk/Signal.dcl | |
parent | Add G modifier to ccalls gtk_sheet_thaw and gtk_sheet_row_set_visibility whic... (diff) |
Add GdkEvent and KeyPressHandler
Diffstat (limited to 'src/Gtk/Signal.dcl')
-rw-r--r-- | src/Gtk/Signal.dcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Gtk/Signal.dcl b/src/Gtk/Signal.dcl index 5ed6ac8..6bb60d8 100644 --- a/src/Gtk/Signal.dcl +++ b/src/Gtk/Signal.dcl @@ -2,9 +2,10 @@ definition module Gtk.Signal from System._Pointer import :: Pointer +from Gdk.Events import :: GdkEvent from Gtk.State import :: GtkM, :: GtkState from Gtk.Tune import class tune -from Gtk.Types import :: GtkTimeout +from Gtk.Types import :: GtkPropagate, :: GtkTimeout from Gtk.Widgets import class gtkWidget class signalHandler h @@ -19,6 +20,7 @@ where | ChangedHandler !(GtkM ()) | ClickedHandler !(GtkM ()) | DestroyHandler !(GtkM ()) + | KeyPressHandler !(GdkEvent -> GtkM GtkPropagate) | NextMatchHandler !(GtkM ()) | PreviousMatchHandler !(GtkM ()) | SearchChangedHandler !(GtkM ()) |