File: //usr/local/ssl/share/gtk-doc/html/libbonoboui/libbonoboui-bonobo-property-control.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>bonobo-property-control</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="LibBonoboUI API Reference Manual">
<link rel="up" href="bonobo-controls.html" title="Controls">
<link rel="prev" href="libbonoboui-bonobo-control-frame.html" title="BonoboControlFrame">
<link rel="next" href="bonobo-ui.html" title="Bonobo UI">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="bonobo-controls.html" title="Controls">
<link rel="chapter" href="bonobo-ui.html" title="Bonobo UI">
<link rel="chapter" href="bonobo-support-utilities.html" title="Supporting Classes">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libbonoboui-bonobo-control-frame.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="bonobo-controls.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">LibBonoboUI API Reference Manual</th>
<td><a accesskey="n" href="bonobo-ui.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2761427" class="shortcut">Top</a>
 | 
<a href="#id2761819" class="shortcut">Description</a>
 | 
<a href="#id2761721" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id2761753" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libbonoboui-bonobo-property-control"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2761427"></a><span class="refentrytitle">bonobo-property-control</span>
</h2>
<p>bonobo-property-control — </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="BonoboPropertyControl"></a><pre class="synopsis">
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl-struct">BonoboPropertyControl</a>;
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlPrivate">BonoboPropertyControlPrivate</a>;
#define <a href="libbonoboui-bonobo-property-control.html#BONOBO-PROPERTY-CONTROL-CHANGED:CAPS">BONOBO_PROPERTY_CONTROL_CHANGED</a>
<a href="libbonoboui-bonobo-control.html#BonoboControl">BonoboControl</a>* (<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">*BonoboPropertyControlGetControlFn</a>)
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *control,
int page_number,
void *closure);
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlClass">BonoboPropertyControlClass</a>;
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a>* <a href="libbonoboui-bonobo-property-control.html#bonobo-property-control-construct">bonobo_property_control_construct</a>
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *property_control,
BonoboEventSource *event_source,
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">BonoboPropertyControlGetControlFn</a> get_fn,
int num_pages,
void *closure);
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a>* <a href="libbonoboui-bonobo-property-control.html#bonobo-property-control-new-full">bonobo_property_control_new_full</a>
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">BonoboPropertyControlGetControlFn</a> get_fn,
int num_pages,
BonoboEventSource *event_source,
void *closure);
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a>* <a href="libbonoboui-bonobo-property-control.html#bonobo-property-control-new">bonobo_property_control_new</a>
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">BonoboPropertyControlGetControlFn</a> get_fn,
int num_pages,
void *closure);
void <a href="libbonoboui-bonobo-property-control.html#bonobo-property-control-changed">bonobo_property_control_changed</a> (<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *property_control,
CORBA_Environment *opt_ev);
BonoboEventSource* <a href="libbonoboui-bonobo-property-control.html#bonobo-property-control-get-event-source">bonobo_property_control_get_event_source</a>
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *property_control);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2761721"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/libbonobo/libbonobo-bonobo-object.html#BonoboObject"
>BonoboObject</a>
+----BonoboPropertyControl
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2761753"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl-action">action</a>" void user_function (<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *bonobopropertycontrol,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2761819"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2761834"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2761844"></a><h3>
<a name="BonoboPropertyControl-struct"></a>BonoboPropertyControl</h3>
<a class="indexterm" name="id2761858"></a><pre class="programlisting">typedef struct _BonoboPropertyControl BonoboPropertyControl;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2761874"></a><h3>
<a name="BonoboPropertyControlPrivate"></a>BonoboPropertyControlPrivate</h3>
<a class="indexterm" name="id2761887"></a><pre class="programlisting">typedef struct _BonoboPropertyControlPrivate BonoboPropertyControlPrivate;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2761903"></a><h3>
<a name="BONOBO-PROPERTY-CONTROL-CHANGED:CAPS"></a>BONOBO_PROPERTY_CONTROL_CHANGED</h3>
<a class="indexterm" name="id2761917"></a><pre class="programlisting">#define BONOBO_PROPERTY_CONTROL_CHANGED "Bonobo::PropertyControl_changed"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2761933"></a><h3>
<a name="BonoboPropertyControlGetControlFn"></a>BonoboPropertyControlGetControlFn ()</h3>
<a class="indexterm" name="id2761947"></a><pre class="programlisting"><a href="libbonoboui-bonobo-control.html#BonoboControl">BonoboControl</a>* (*BonoboPropertyControlGetControlFn)
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *control,
int page_number,
void *closure);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>control</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>page_number</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2762047"></a><h3>
<a name="BonoboPropertyControlClass"></a>BonoboPropertyControlClass</h3>
<a class="indexterm" name="id2762059"></a><pre class="programlisting">typedef struct {
BonoboObjectClass parent_class;
POA_Bonobo_PropertyControl__epv epv;
gpointer dummy[4];
void (* action) (BonoboPropertyControl *property_control,
Bonobo_PropertyControl_Action action);
} BonoboPropertyControlClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2762078"></a><h3>
<a name="bonobo-property-control-construct"></a>bonobo_property_control_construct ()</h3>
<a class="indexterm" name="id2762092"></a><pre class="programlisting"><a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a>* bonobo_property_control_construct
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *property_control,
BonoboEventSource *event_source,
<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">BonoboPropertyControlGetControlFn</a> get_fn,
int num_pages,
void *closure);</pre>
<p>
Initialises the BonoboPropertyControl object.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>property_control</code></em> :</span></td>
<td> A BonoboPropertyControl object.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>event_source</code></em> :</span></td>
<td> A BonoboEventSource object that will be aggregated onto the
property control.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>get_fn</code></em> :</span></td>
<td> Creation routine.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>num_pages</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
<td> Data passed to closure routine.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The newly constructed BonoboPropertyControl.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2762245"></a><h3>
<a name="bonobo-property-control-new-full"></a>bonobo_property_control_new_full ()</h3>
<a class="indexterm" name="id2762258"></a><pre class="programlisting"><a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a>* bonobo_property_control_new_full
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">BonoboPropertyControlGetControlFn</a> get_fn,
int num_pages,
BonoboEventSource *event_source,
void *closure);</pre>
<p>
Creates a BonoboPropertyControl object.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>get_fn</code></em> :</span></td>
<td> The function to be called when the getControl method is called.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>num_pages</code></em> :</span></td>
<td> The number of pages this property control has.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>event_source</code></em> :</span></td>
<td> The event source to use to emit events on.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
<td> The data to be passed into the <em class="parameter"><code>get_fn</code></em> routine.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A pointer to a newly created BonoboPropertyControl object.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2762396"></a><h3>
<a name="bonobo-property-control-new"></a>bonobo_property_control_new ()</h3>
<a class="indexterm" name="id2762409"></a><pre class="programlisting"><a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a>* bonobo_property_control_new
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControlGetControlFn">BonoboPropertyControlGetControlFn</a> get_fn,
int num_pages,
void *closure);</pre>
<p>
Creates a BonoboPropertyControl object.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>get_fn</code></em> :</span></td>
<td> The function to be called when the getControl method is called.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>num_pages</code></em> :</span></td>
<td> The number of pages this property control has.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>closure</code></em> :</span></td>
<td> The data to be passed into the <em class="parameter"><code>get_fn</code></em> routine
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A pointer to a newly created BonoboPropertyControl object.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2762523"></a><h3>
<a name="bonobo-property-control-changed"></a>bonobo_property_control_changed ()</h3>
<a class="indexterm" name="id2762536"></a><pre class="programlisting">void bonobo_property_control_changed (<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *property_control,
CORBA_Environment *opt_ev);</pre>
<p>
Tells the server that a value in the property control has been changed,
and that it should indicate this somehow.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>property_control</code></em> :</span></td>
<td> The BonoboPropertyControl that has changed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>opt_ev</code></em> :</span></td>
<td> An optional CORBA_Environment for exception handling.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2762612"></a><h3>
<a name="bonobo-property-control-get-event-source"></a>bonobo_property_control_get_event_source ()</h3>
<a class="indexterm" name="id2762627"></a><pre class="programlisting">BonoboEventSource* bonobo_property_control_get_event_source
(<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *property_control);</pre>
<p>
Returns the BonoboEventSource that <em class="parameter"><code>property_control</code></em> uses.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>property_control</code></em> :</span></td>
<td> The BonoboPropertyControl.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A BonoboEventSource.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2762698"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2762708"></a><h3>
<a name="BonoboPropertyControl-action"></a>The "action" signal</h3>
<a class="indexterm" name="id2762719"></a><pre class="programlisting">void user_function (<a href="libbonoboui-bonobo-property-control.html#BonoboPropertyControl">BonoboPropertyControl</a> *bonobopropertycontrol,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run first</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>bonobopropertycontrol</code></em> :</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg1</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg2</code></em> :</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>