This file is indexed.

/usr/share/doc/libghc-glade-doc/html/Graphics-UI-Gtk-Glade.html is in libghc-glade-doc 0.12.1-4.

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
<!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>Graphics.UI.Gtk.Glade</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_Graphics-UI-Gtk-Glade.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Glade.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">glade-0.12.1: Binding to the glade library.</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">Graphics.UI.Gtk.Glade</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Data types
</a></li><li><a href="#g:2">Creation operations
</a></li><li><a href="#g:3">Obtaining widget handles
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Libglade facilitates loading of XML specifications of whole widget trees
 that have been interactively designed with the GUI builder Glade. The
 present module exports operations for manipulating <code><a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></code> objects.
</p><ul><li> This binding does not support Libglade functionality that is exclusively
 meant for extending Libglade with new widgets. Like new widgets, such
 functionality is currently expected to be implemented in C.
</li></ul></div></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">class</span> <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:GladeXMLClass">GladeXMLClass</a> o </li><li class="src short"><span class="keyword">data</span>  <a href="#t:GladeXML">GladeXML</a> </li><li class="src short"><a href="#v:xmlNew">xmlNew</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a>)</li><li class="src short"><a href="#v:xmlNewWithRootAndDomain">xmlNewWithRootAndDomain</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a>)</li><li class="src short"><a href="#v:xmlGetWidget">xmlGetWidget</a> :: <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> widget =&gt; <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a> -&gt; (<a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; widget) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> widget</li><li class="src short"><a href="#v:xmlGetWidgetRaw">xmlGetWidgetRaw</a> :: <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a>)</li></ul></div><div id="interface"><h1 id="g:1">Data types
</h1><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a name="t:GladeXMLClass" class="def">GladeXMLClass</a> o <a href="src/Graphics-UI-Gtk-Glade-Types.html#GladeXMLClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:GladeXMLClass" class="caption collapser" onclick="toggleSection('i:GladeXMLClass')">Instances</p><div id="section.i:GladeXMLClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Glade.html#t:GladeXMLClass">GladeXMLClass</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:GladeXML" class="def">GladeXML</a>  <a href="src/Graphics-UI-Gtk-Glade-Types.html#GladeXML" class="link">Source</a></p><div class="subs instances"><p id="control.i:GladeXML" class="caption collapser" onclick="toggleSection('i:GladeXML')">Instances</p><div id="section.i:GladeXML" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Glade.html#t:GladeXMLClass">GladeXMLClass</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">Creation operations
</h1><div class="top"><p class="src"><a name="v:xmlNew" class="def">xmlNew</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a>)<a href="src/Graphics-UI-Gtk-Glade.html#xmlNew" class="link">Source</a></p><div class="doc"><p>Create a new XML object (and the corresponding widgets) from the given
 XML file.
</p><p>This corresponds to <code><a href="Graphics-UI-Gtk-Glade.html#v:xmlNewWithRootAndDomain">xmlNewWithRootAndDomain</a></code>, but without the ability
 to specify a root widget or translation domain.
</p></div></div><div class="top"><p class="src"><a name="v:xmlNewWithRootAndDomain" class="def">xmlNewWithRootAndDomain</a><a href="src/Graphics-UI-Gtk-Glade.html#xmlNewWithRootAndDomain" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a></td><td class="doc"><p>the XML file name.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>root</code> - the widget node in fname to start building
 from (or <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code>)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>domain</code> - the translation domain for the XML file (or
 <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> for default)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Create a new GladeXML object (and the corresponding widgets) from the
 given XML file.
</p><p>Optionally it will only build the interface from the widget
 node <code>root</code> (if it is not <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code>). This feature is useful if you only
 want to build say a toolbar or menu from the XML file, but not the window
 it is embedded in.
</p><p>Note also that the XML parse tree is cached to speed up creating another
 <code><a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></code> object for the same file.
</p></div></div><h1 id="g:3">Obtaining widget handles
</h1><div class="top"><p class="src"><a name="v:xmlGetWidget" class="def">xmlGetWidget</a><a href="src/Graphics-UI-Gtk-Glade.html#xmlGetWidget" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> widget</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; (<a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; widget)</td><td class="doc"><p>a dynamic cast function that returns the type of
 object that you expect, eg castToButton
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>the second parameter is the ID of the widget in
 the glade xml file, eg &quot;button1&quot;.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> widget</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get the widget that has the given name in
 the interface description. If the named widget cannot be found
 or is of the wrong type the result is an error.
</p></div></div><div class="top"><p class="src"><a name="v:xmlGetWidgetRaw" class="def">xmlGetWidgetRaw</a> :: <a href="Graphics-UI-Gtk-Glade.html#t:GladeXML">GladeXML</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a>)<a href="src/Graphics-UI-Gtk-Glade.html#xmlGetWidgetRaw" class="link">Source</a></p><div class="doc"><p>Like <code><a href="Graphics-UI-Gtk-Glade.html#v:xmlGetWidget">xmlGetWidget</a></code> but it does not do any casting and if the named
 widget is not found then the result is <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> rather than an error.
</p></div></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>