<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="Start" href="index.html"> <link rel="Up" href="GToolbox.html"> <title>LablGTK : GToolbox.tree_selection</title> </head> <body> <div class="navbar"> <a href="GToolbox.html">Up</a> </div> <center><h1>Class <a href="type_GToolbox.tree_selection.html">GToolbox.tree_selection</a></h1></center> <br> <pre><span class="keyword">class</span> <a name="TYPEtree_selection"></a><code class="type">['a]</code> tree_selection : <code class="type">tree:'a <a href="GToolbox.html#TYPEtree">tree</a> -> label:('a -> string) -> info:('a -> string) -> ?packing:<a href="GObj.widget.html">GObj.widget</a> -> unit -> ?show:bool -> unit -> </code><code class="code">object</code> <a href="GToolbox.tree_selection.html">..</a> <code class="code">end</code></pre>A class to make the user select a node in a tree.<br> <br><div class="param_info"><code class="code">tree</code> : is the tree to display.</div> <div class="param_info"><code class="code">label</code> : gives a label from the data of a node.</div> <div class="param_info"><code class="code">info</code> : gives a (Utf8) string from the data of a node, to give more information to the user when he selects a node.</div> <b>Inherits</b><ul> <li><a href="GObj.widget.html"><code class="code">GObj.widget</code></a></li> </ul> <hr width="100%"> <pre><span class="keyword">val</span> <a name="ATTobj"></a>obj : <code class="type"><a href="Gtk.html#TYPEwidget">Gtk.widget</a> <a href="Gtk.html#TYPEobj">Gtk.obj</a></code></pre><pre><span class="keyword">val</span> <a name="ATTselection"></a><span class="keyword">mutable</span> selection : <code class="type">'a option</code></pre><pre><span class="keyword">method</span> <a name="METHODclear_selection"></a>clear_selection : <code class="type">unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODselection"></a>selection : <code class="type">'a option</code></pre><pre><span class="keyword">method</span> <a name="METHODwview"></a>wview : <code class="type"><a href="GText.view.html">GText.view</a></code></pre><pre><span class="keyword">method</span> <a name="METHODwtree"></a>wtree : <code class="type"><a href="GBroken.tree.html">GBroken.tree</a></code></pre></body></html>