Sophie

Sophie

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

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="Glib.html">
<link rel="next" href="GdkEnums.html">
<link rel="Up" href="index.html">
<title>LablGTK : Gobject</title>
</head>
<body>
<div class="navbar"><a href="Glib.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="GdkEnums.html">Next</a>
</div>
<center><h1>Module <a href="type_Gobject.html">Gobject</a></h1></center>
<br>
<pre><span class="keyword">module</span> Gobject: <code class="code">sig</code> <a href="Gobject.html">..</a> <code class="code">end</code></pre><hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEobj"></a><code class="type">-'a</code> obj </pre>

<pre><span class="keyword">type</span> <a name="TYPEg_type"></a><code class="type"></code>g_type </pre>

<pre><span class="keyword">type</span> <a name="TYPEg_class"></a><code class="type"></code>g_class </pre>

<pre><span class="keyword">type</span> <a name="TYPEg_value"></a><code class="type"></code>g_value </pre>

<pre><span class="keyword">type</span> <a name="TYPEg_closure"></a><code class="type"></code>g_closure </pre>

<pre><span class="keyword">type</span> <a name="TYPEbasic"></a><code class="type"></code>basic = <code class="type">[ `BOOL of bool<br>       | `CAML of Obj.t<br>       | `CHAR of char<br>       | `FLOAT of float<br>       | `INT of int<br>       | `INT64 of int64<br>       | `POINTER of <a href="Gpointer.html#TYPEboxed">Gpointer.boxed</a> option<br>       | `STRING of string option ]</code> </pre>

<pre><span class="keyword">type</span> <a name="TYPEdata_get"></a><code class="type"></code>data_get = <code class="type">[ `BOOL of bool<br>       | `CAML of Obj.t<br>       | `CHAR of char<br>       | `FLOAT of float<br>       | `INT of int<br>       | `INT64 of int64<br>       | `NONE<br>       | `OBJECT of unit <a href="Gobject.html#TYPEobj">obj</a> option<br>       | `POINTER of <a href="Gpointer.html#TYPEboxed">Gpointer.boxed</a> option<br>       | `STRING of string option ]</code> </pre>

<pre><span class="keyword">type</span> <a name="TYPEdata_set"></a><code class="type">'a</code> data_set = <code class="type">[ `BOOL of bool<br>       | `CAML of Obj.t<br>       | `CHAR of char<br>       | `FLOAT of float<br>       | `INT of int<br>       | `INT32 of int32<br>       | `INT64 of int64<br>       | `LONG of nativeint<br>       | `OBJECT of 'a <a href="Gobject.html#TYPEobj">obj</a> option<br>       | `POINTER of <a href="Gpointer.html#TYPEboxed">Gpointer.boxed</a> option<br>       | `STRING of string option ]</code> </pre>

<pre><span class="keyword">type</span> <a name="TYPEbase_data"></a><code class="type"></code>base_data = <code class="type">[ `BOOLEAN<br>       | `BOXED<br>       | `CHAR<br>       | `DOUBLE<br>       | `ENUM<br>       | `FLAGS<br>       | `FLOAT<br>       | `INT<br>       | `INT64<br>       | `LONG<br>       | `OBJECT<br>       | `POINTER<br>       | `STRING<br>       | `UCHAR<br>       | `UINT<br>       | `UINT64<br>       | `ULONG ]</code> </pre>

<pre><span class="keyword">type</span> <a name="TYPEdata_kind"></a><code class="type"></code>data_kind = <code class="type">[ `BOOLEAN<br>       | `BOXED<br>       | `CHAR<br>       | `DOUBLE<br>       | `ENUM<br>       | `FLAGS<br>       | `FLOAT<br>       | `INT<br>       | `INT32<br>       | `INT64<br>       | `LONG<br>       | `OBJECT<br>       | `OTHER of <a href="Gobject.html#TYPEg_type">g_type</a><br>       | `POINTER<br>       | `STRING<br>       | `UCHAR<br>       | `UINT<br>       | `UINT32<br>       | `UINT64<br>       | `ULONG ]</code> </pre>

<pre><span class="keyword">type</span> <a name="TYPEdata_conv_get"></a><code class="type"></code>data_conv_get = <code class="type">[ `BOOL of bool<br>       | `CAML of Obj.t<br>       | `CHAR of char<br>       | `FLOAT of float<br>       | `INT of int<br>       | `INT32 of int32<br>       | `INT64 of int64<br>       | `NONE<br>       | `OBJECT of unit <a href="Gobject.html#TYPEobj">obj</a> option<br>       | `POINTER of <a href="Gpointer.html#TYPEboxed">Gpointer.boxed</a> option<br>       | `STRING of string option ]</code> </pre>

<br><code><span class="keyword">type</span> <a name="TYPEdata_conv"></a><code class="type">'a</code> data_conv = {</code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>kind&nbsp;: <code class="type"><a href="Gobject.html#TYPEdata_kind">data_kind</a></code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>proj&nbsp;: <code class="type"><a href="Gobject.html#TYPEdata_conv_get">data_conv_get</a> -> 'a</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>inj&nbsp;: <code class="type">'a -> unit <a href="Gobject.html#TYPEdata_set">data_set</a></code>;</code></td>

</tr></table>
}


<br><code><span class="keyword">type</span> <a name="TYPEproperty"></a><code class="type">('a, 'b)</code> property = {</code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>name&nbsp;: <code class="type">string</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code>conv&nbsp;: <code class="type">'b <a href="Gobject.html#TYPEdata_conv">data_conv</a></code>;</code></td>

</tr></table>
}


<pre><span class="keyword">type</span> <a name="TYPEfundamental_type"></a><code class="type"></code>fundamental_type = <code class="type">[ `BOOLEAN<br>       | `BOXED<br>       | `CHAR<br>       | `DOUBLE<br>       | `ENUM<br>       | `FLAGS<br>       | `FLOAT<br>       | `INT<br>       | `INT64<br>       | `INTERFACE<br>       | `INVALID<br>       | `LONG<br>       | `NONE<br>       | `OBJECT<br>       | `PARAM<br>       | `POINTER<br>       | `STRING<br>       | `UCHAR<br>       | `UINT<br>       | `UINT64<br>       | `ULONG ]</code> </pre>

<pre><span class="keyword">exception</span> <a name="EXCEPTIONCannot_cast"></a>Cannot_cast <span class="keyword">of</span> <code class="type">string * string</code></pre>
<pre><span class="keyword">val</span> <a name="VALget_type"></a>get_type : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> <a href="Gobject.html#TYPEg_type">g_type</a></code></pre><pre><span class="keyword">val</span> <a name="VALis_a"></a>is_a : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALtry_cast"></a>try_cast : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> string -> 'b <a href="Gobject.html#TYPEobj">obj</a></code></pre><pre><span class="keyword">val</span> <a name="VALget_oid"></a>get_oid : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALunsafe_cast"></a>unsafe_cast : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> 'b <a href="Gobject.html#TYPEobj">obj</a></code></pre><pre><span class="keyword">val</span> <a name="VALcoerce"></a>coerce : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> unit <a href="Gobject.html#TYPEobj">obj</a></code></pre><pre><span class="keyword">val</span> <a name="VALcoerce_option"></a>coerce_option : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> option -> unit <a href="Gobject.html#TYPEobj">obj</a> option</code></pre><pre><span class="keyword">type</span> <a name="TYPEparam"></a><code class="type">+'a</code> param </pre>

<pre><span class="keyword">val</span> <a name="VALdyn_param"></a>dyn_param : <code class="type">string -> 'a <a href="Gobject.html#TYPEdata_set">data_set</a> -> 'b <a href="Gobject.html#TYPEparam">param</a></code></pre><pre><span class="keyword">val</span> <a name="VALparam"></a>param : <code class="type">('a, 'b) <a href="Gobject.html#TYPEproperty">property</a> -> 'b -> 'a <a href="Gobject.html#TYPEparam">param</a></code></pre><pre><span class="keyword">val</span> <a name="VALunsafe_create"></a>unsafe_create : <code class="type">classe:string -> 'a <a href="Gobject.html#TYPEparam">param</a> list -> 'a <a href="Gobject.html#TYPEobj">obj</a></code></pre><pre><span class="keyword">val</span> <a name="VALunsafe_unref"></a>unsafe_unref : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget_ref_count"></a>get_ref_count : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALset"></a>set : <code class="type">('a, 'b) <a href="Gobject.html#TYPEproperty">property</a> -> 'a <a href="Gobject.html#TYPEobj">obj</a> -> 'b -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget"></a>get : <code class="type">('a, 'b) <a href="Gobject.html#TYPEproperty">property</a> -> 'a <a href="Gobject.html#TYPEobj">obj</a> -> 'b</code></pre><pre><span class="keyword">val</span> <a name="VALset_params"></a>set_params : <code class="type">'a <a href="Gobject.html#TYPEobj">obj</a> -> 'a <a href="Gobject.html#TYPEparam">param</a> list -> unit</code></pre><pre><span class="keyword">module</span> <a href="Gobject.Type.html">Type</a>: <code class="code">sig</code> <a href="Gobject.Type.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="Gobject.Value.html">Value</a>: <code class="code">sig</code> <a href="Gobject.Value.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="Gobject.Closure.html">Closure</a>: <code class="code">sig</code> <a href="Gobject.Closure.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="Gobject.Data.html">Data</a>: <code class="code">sig</code> <a href="Gobject.Data.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="Gobject.Property.html">Property</a>: <code class="code">sig</code> <a href="Gobject.Property.html">..</a> <code class="code">end</code></pre></body></html>