summaryrefslogtreecommitdiff
path: root/src/Gtk/Signal.dcl
diff options
context:
space:
mode:
authorCamil Staps2019-10-21 11:14:10 +0200
committerCamil Staps2019-10-21 11:14:10 +0200
commit8672acbbb52494178cabffd778edf8397fe01484 (patch)
treeb764c46e47588fa53be96288238f1443be761c02 /src/Gtk/Signal.dcl
parentReorder more combinator arguments to ease binding (diff)
Add ActivateHandler for GtkMenuItem
Diffstat (limited to 'src/Gtk/Signal.dcl')
-rw-r--r--src/Gtk/Signal.dcl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Gtk/Signal.dcl b/src/Gtk/Signal.dcl
index 2260ebe..acec991 100644
--- a/src/Gtk/Signal.dcl
+++ b/src/Gtk/Signal.dcl
@@ -1,12 +1,13 @@
definition module Gtk.Signal
-from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState
+from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState, :: GtkM
from Gtk.Widgets import class gtkWidget
-:: GSignalHandlerFunction :== State GtkState ()
+:: GSignalHandlerFunction :== GtkM ()
:: GSignalHandler
- = DestroyHandler !GSignalHandlerFunction
+ = DestroyHandler !GSignalHandlerFunction
+ | ActivateHandler !GSignalHandlerFunction
:: GSignalHandlerInternal
= GSHI_Void !GSignalHandlerFunction