summaryrefslogtreecommitdiff
path: root/src/Gtk/Signal.dcl
blob: acec991d02fb2ee103c40ff9517bcb1a26b9d152 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
definition module Gtk.Signal

from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState, :: GtkM
from Gtk.Widgets import class gtkWidget

:: GSignalHandlerFunction :== GtkM ()

:: GSignalHandler
	= DestroyHandler  !GSignalHandlerFunction
	| ActivateHandler !GSignalHandlerFunction

:: GSignalHandlerInternal
	= GSHI_Void !GSignalHandlerFunction

installSignalHandler :: !GSignalHandler !w -> State GtkState w | gtkWidget w