WorldSignals.aml</TT>:</P>

<PRE>
import structure Gtk from "x-alice:/lib/gtk/Gtk"
import structure HelloWorld from "HelloWorld"

signature HELLOWORLDSIGNALS_SIG =
sig
    val on_button1_clicked : Gtk.callback_function
end

functor HelloWorldSignals (structure S : HELLOWORLDSIGNALS_SIG) =
struct
    val button1_on_button1_clicked = Gtk.signalConnect(HelloWorld.button1, "clicked", S.on_button1_clicked)
end
</PRE>

<P>In your application, you just have to implement the
<TT>HELLOWORLDSIGNALS_