Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 0be7620be6a1578fbd49765844864a01 > files > 241

ocaml-lablgtk2-doc-2.14.0-2mdv2010.0.i586.rpm

<!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="previous" href="GTree.cell_renderer_skel.html">
<link rel="Up" href="GTree.html">
<title>LablGTK : GTree.custom_tree_model_type</title>
</head>
<body>
<div class="navbar"><a href="GTree.cell_renderer_skel.html">Previous</a>
&nbsp;<a href="GTree.html">Up</a>
&nbsp;</div>
<center><h1>Class type virtual <a href="type_GTree.custom_tree_model_type.html">GTree.custom_tree_model_type</a></h1></center>
<br>
<pre><span class="keyword">class type</span> <a name="TYPEcustom_tree_model_type"></a><span class="keyword">virtual</span> <code class="type">[['a, 'b, 'c, 'd, 'e]]</code> custom_tree_model_type = <code class="code">object</code> <a href="GTree.custom_tree_model_type.html">..</a> <code class="code">end</code></pre><b>Inherits</b><ul>
<li><a href="GTree.model.html"><code class="code">GTree.model</code></a></li>
</ul>
<hr width="100%">
<pre><span class="keyword">val</span> <a name="ATTobj"></a>obj : <code class="type">'a</code></pre><pre><span class="keyword">method</span> <a name="METHODconnect"></a>connect : <code class="type"><a href="GTree.model_signals.html">model_signals</a></code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_row_changed"></a>custom_row_changed : <code class="type"><a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a> -> 'b -> unit</code></pre><div class="info">
Signal emitters<br>
</div>
<pre><span class="keyword">method</span> <a name="METHODcustom_row_deleted"></a>custom_row_deleted : <code class="type"><a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_row_has_child_toggled"></a>custom_row_has_child_toggled : <code class="type"><a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a> -> 'b -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_row_inserted"></a>custom_row_inserted : <code class="type"><a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a> -> 'b -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_rows_reordered"></a>custom_rows_reordered : <code class="type"><a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a> -> 'b option -> int array -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_unref_node"></a>custom_unref_node : <code class="type">'b -> unit</code></pre><div class="info">
Override these to implement a cache of rows<br>
</div>
<pre><span class="keyword">method</span> <a name="METHODcustom_ref_node"></a>custom_ref_node : <code class="type">'b -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_flags"></a>custom_flags : <code class="type"><a href="GtkEnums.html#TYPEtree_model_flags">GtkEnums.tree_model_flags</a> list</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_get_iter"></a><span class="keyword">virtual</span> custom_get_iter : <code class="type"><a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a> -> 'b option</code></pre><div class="info">
Functions of the custom model. They must act exactly as described in the documentation 
      of Gtk orelse Gtk may emit fatal errors.<br>
</div>
<pre><span class="keyword">method</span> <a name="METHODcustom_get_path"></a><span class="keyword">virtual</span> custom_get_path : <code class="type">'b -> <a href="Gtk.html#TYPEtree_path">Gtk.tree_path</a></code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_value"></a><span class="keyword">virtual</span> custom_value : <code class="type"><a href="Gobject.html#TYPEg_type">Gobject.g_type</a> -> 'b -> column:int -> <a href="Gobject.html#TYPEbasic">Gobject.basic</a></code></pre><code class="code">custom_value typ row ~column</code> is the value to set in <code class="code">row</code> for column <code class="code">column</code>.
        It must must be of the type <code class="code">typ</code>, i.e. the type declared for column  <code class="code">column</code>.<pre><span class="keyword">method</span> <a name="METHODcustom_iter_children"></a><span class="keyword">virtual</span> custom_iter_children : <code class="type">'b option -> 'b option</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_iter_has_child"></a><span class="keyword">virtual</span> custom_iter_has_child : <code class="type">'b -> bool</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_iter_n_children"></a><span class="keyword">virtual</span> custom_iter_n_children : <code class="type">'b option -> int</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_iter_next"></a><span class="keyword">virtual</span> custom_iter_next : <code class="type">'b -> 'b option</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_iter_nth_child"></a><span class="keyword">virtual</span> custom_iter_nth_child : <code class="type">'b option -> int -> 'b option</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_iter_parent"></a><span class="keyword">virtual</span> custom_iter_parent : <code class="type">'b -> 'b option</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_decode_iter"></a><span class="keyword">virtual</span> custom_decode_iter : <code class="type">'c -> 'd -> 'e -> 'b</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_encode_iter"></a><span class="keyword">virtual</span> custom_encode_iter : <code class="type">'b -> 'c * 'd * 'e</code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_n_columns"></a>custom_n_columns : <code class="type">int</code></pre><div class="info">
For internal use only. Do not override these methods.<br>
</div>
<pre><span class="keyword">method</span> <a name="METHODcustom_get_column_type"></a>custom_get_column_type : <code class="type">int -> <a href="Gobject.html#TYPEg_type">Gobject.g_type</a></code></pre><pre><span class="keyword">method</span> <a name="METHODcustom_get_value"></a>custom_get_value : <code class="type">'b -> int -> <a href="Gobject.html#TYPEg_value">Gobject.g_value</a> -> unit</code></pre></body></html>