diff options
Diffstat (limited to 'src/Gtk/Signal.dcl')
-rw-r--r-- | src/Gtk/Signal.dcl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Gtk/Signal.dcl b/src/Gtk/Signal.dcl index d92455e..692bf05 100644 --- a/src/Gtk/Signal.dcl +++ b/src/Gtk/Signal.dcl @@ -4,6 +4,7 @@ from System._Pointer import :: Pointer from Gtk.State import :: GtkM, :: GtkState from Gtk.Tune import class tune +from Gtk.Types import :: GtkTimeout from Gtk.Widgets import class gtkWidget class signalHandler h @@ -35,4 +36,7 @@ retrieveState :: GtkM GtkState //* Wrap functionality in `saveState` and `retrieveState` if it can be re-entrant. withPossibleCallback :: !(GtkM a) -> GtkM a -handleSignal :: !Int !{#Int} -> Int +handleSignal :: !Int !{#Int} -> Int // only for foreign export + +addTimeout :: !GtkTimeout !(GtkM Bool) -> GtkM () +handleTimeout :: !Int -> Int // only for foreign export |