/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html is in libghc-glib-doc 0.12.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.Glib.Signals</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_System-Glib-Signals.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Glib-Signals.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">glib-0.12.5.3: Binding to the GLIB library for Gtk2Hs.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">System.Glib.Signals</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">newtype</span> <a href="#t:Signal">Signal</a> object handler = <a href="#v:Signal">Signal</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -> object -> handler -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> object))</li><li class="src short"><a href="#v:on">on</a> :: object -> <a href="System-Glib-Signals.html#t:Signal">Signal</a> object callback -> callback -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> object)</li><li class="src short"><a href="#v:after">after</a> :: object -> <a href="System-Glib-Signals.html#t:Signal">Signal</a> object callback -> callback -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> object)</li><li class="src short"><span class="keyword">type</span> <a href="#t:SignalName">SignalName</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:ConnectAfter">ConnectAfter</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span> <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:ConnectId">ConnectId</a> o = <a href="#v:ConnectId">ConnectId</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CULong">CULong</a> o</li><li class="src short"><a href="#v:signalDisconnect">signalDisconnect</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:signalBlock">signalBlock</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:signalUnblock">signalUnblock</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:signalStopEmission">signalStopEmission</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="System-Glib-Signals.html#t:SignalName">SignalName</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:disconnect">disconnect</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><span class="keyword">data</span> <a href="#t:GClosure">GClosure</a> </li><li class="src short"><a href="#v:connectGeneric">connectGeneric</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:SignalName">SignalName</a> -> <a href="System-Glib-Signals.html#t:ConnectAfter">ConnectAfter</a> -> obj -> handler -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:Signal" class="def">Signal</a> object handler <a href="src/System-Glib-Signals.html#Signal" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Signal" class="def">Signal</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -> object -> handler -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> object))</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:on" class="def">on</a> :: object -> <a href="System-Glib-Signals.html#t:Signal">Signal</a> object callback -> callback -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> object)<a href="src/System-Glib-Signals.html#on" class="link">Source</a></p><div class="doc"><p>Perform an action in response to a signal.
</p><p>Use it like this:
</p><pre> on obj sig $ do
...
</pre><p>or if the signal handler takes any arguments:
</p><pre> on obj sig $ \args -> do
...
</pre></div></div><div class="top"><p class="src"><a name="v:after" class="def">after</a> :: object -> <a href="System-Glib-Signals.html#t:Signal">Signal</a> object callback -> callback -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> object)<a href="src/System-Glib-Signals.html#after" class="link">Source</a></p><div class="doc"><p>Perform an action in response to a signal.
</p><ul><li> Like <code><a href="System-Glib-Signals.html#v:on">on</a></code> but the signal is executed after Gtk's default handler has
run.
</li></ul></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:SignalName" class="def">SignalName</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/System-Glib-Signals.html#SignalName" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:ConnectAfter" class="def">ConnectAfter</a> = <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/System-Glib-Signals.html#ConnectAfter" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a name="t:ConnectId" class="def">ConnectId</a> o <a href="src/System-Glib-Signals.html#ConnectId" class="link">Source</a></p><div class="doc"><p>The type of signal handler ids. If you ever need to <code><a href="System-Glib-Signals.html#v:disconnect">disconnect</a></code> a signal
handler then you will need to retain the <code><a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a></code> you got when you
registered it.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ConnectId" class="def">ConnectId</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Foreign-C-Types.html#t:CULong">CULong</a> o</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:signalDisconnect" class="def">signalDisconnect</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/System-Glib-Signals.html#signalDisconnect" class="link">Source</a></p><div class="doc"><p>Disconnect a signal handler. After disconnecting the handler will no
longer be invoked when the event occurs.
</p></div></div><div class="top"><p class="src"><a name="v:signalBlock" class="def">signalBlock</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/System-Glib-Signals.html#signalBlock" class="link">Source</a></p><div class="doc"><p>Block a specific signal handler.
</p><ul><li> Blocks a handler of an instance so it will not be called during any
signal emissions unless it is unblocked again. Thus "blocking" a signal
handler means to temporarily deactive it, a signal handler has to be
unblocked exactly the same amount of times it has been blocked before
to become active again.
</li></ul></div></div><div class="top"><p class="src"><a name="v:signalUnblock" class="def">signalUnblock</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/System-Glib-Signals.html#signalUnblock" class="link">Source</a></p><div class="doc"><p>Unblock a specific signal handler.
</p><ul><li> Undoes the effect of a previous <code><a href="System-Glib-Signals.html#v:signalBlock">signalBlock</a></code> call. A blocked handler
is skipped during signal emissions and will not be invoked, unblocking
it (for exactly the amount of times it has been blocked before) reverts
its "blocked" state, so the handler will be recognized by the signal
system and is called upon future or currently ongoing signal emissions
(since the order in which handlers are called during signal emissions
is deterministic, whether the unblocked handler in question is called
as part of a currently ongoing emission depends on how far that
emission has proceeded yet).
</li></ul></div></div><div class="top"><p class="src"><a name="v:signalStopEmission" class="def">signalStopEmission</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="System-Glib-Signals.html#t:SignalName">SignalName</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/System-Glib-Signals.html#signalStopEmission" class="link">Source</a></p><div class="doc"><p>Stops a signal's current emission.
</p><ul><li> This will prevent the default method from running. The sequence in which
handlers are run is "first", "on", "last" then "after" where
Gtk-internal
signals are connected either at "first" or at "last". Hence this
function can only stop the signal processing if it is called from within
a handler that is connected with an "on" signal and if the Gtk-internal
handler is connected as "last". Gtk prints a warning if this function
is used on a signal which isn't being emitted.
</li></ul></div></div><div class="top"><p class="src"><a name="v:disconnect" class="def">disconnect</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/System-Glib-Signals.html#disconnect" class="link">Source</a></p><div class="doc"><div class="warning"><p>Deprecated: use signalDisconnect instead
</p></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:GClosure" class="def">GClosure</a> <a href="src/System-Glib-Signals.html#GClosure" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:connectGeneric" class="def">connectGeneric</a> :: <a href="System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => <a href="System-Glib-Signals.html#t:SignalName">SignalName</a> -> <a href="System-Glib-Signals.html#t:ConnectAfter">ConnectAfter</a> -> obj -> handler -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="System-Glib-Signals.html#t:ConnectId">ConnectId</a> obj)<a href="src/System-Glib-Signals.html#connectGeneric" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|