|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/gtk-doc/html/libgnomeui/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomePropertyBox</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="deprecated.html" title="Deprecated modules">
<link rel="prev" href="GnomeMessageBox.html" title="GnomeMessageBox">
<link rel="next" href="libgnomeui-objects.html" title="Object Hierarchy">
<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="GNOME UI Library (libgnomeui)">
</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="GnomeMessageBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="deprecated.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">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="libgnomeui-objects.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="#id3153265" class="shortcut">Top</a>
 | 
<a href="#id3153623" class="shortcut">Description</a>
 | 
<a href="#id3153427" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3153504" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3153526" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GnomePropertyBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3153265"></a><span class="refentrytitle">GnomePropertyBox</span>
</h2>
<p>GnomePropertyBox — Create a tabbed dialog for setting properties and preferences.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
<a href="GnomePropertyBox.html#GnomePropertyBox-struct">GnomePropertyBox</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GnomePropertyBox.html#gnome-property-box-new">gnome_property_box_new</a> (void);
void <a href="GnomePropertyBox.html#gnome-property-box-changed">gnome_property_box_changed</a> (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box);
void <a href="GnomePropertyBox.html#gnome-property-box-set-modified">gnome_property_box_set_modified</a> (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> state);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GnomePropertyBox.html#gnome-property-box-append-page">gnome_property_box_append_page</a> (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *child,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *tab_label);
void <a href="GnomePropertyBox.html#gnome-property-box-set-state">gnome_property_box_set_state</a> (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> state);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3153427"></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/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a>
+----<a href="GnomeDialog.html" title="GnomeDialog">GnomeDialog</a>
+----GnomePropertyBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3153504"></a><h2>Implemented Interfaces</h2>
<p>
GnomePropertyBox implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3153526"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GnomePropertyBox.html#GnomePropertyBox-apply">apply</a>" void user_function (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *propertybox,
<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#gpointer"
>gpointer</a> user_data) : Run last
"<a href="GnomePropertyBox.html#GnomePropertyBox-help">help</a>" void user_function (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *propertybox,
<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#gpointer"
>gpointer</a> user_data) : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3153623"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3153638"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3153648"></a><h3>
<a name="GnomePropertyBox-struct"></a>GnomePropertyBox</h3>
<a class="indexterm" name="id3153661"></a><pre class="programlisting">typedef struct _GnomePropertyBox GnomePropertyBox;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomePropertyBox</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
An opaque widget representing a property box. Items should be added to this
widget using gnome_property_box_append_page.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3153695"></a><h3>
<a name="gnome-property-box-new"></a>gnome_property_box_new ()</h3>
<a class="indexterm" name="id3153710"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gnome_property_box_new (void);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_property_box_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Creates a new GnomePropertyBox widget. The PropertyBox widget
is useful for making consistent configuration dialog boxes.
</p>
<p>
When a setting has been made to a property in the PropertyBox
your program needs to invoke the gnome_property_box_changed to signal
a change (this will enable the Ok/Apply buttons).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>a newly created GnomePropertyBox widget.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3153771"></a><h3>
<a name="gnome-property-box-changed"></a>gnome_property_box_changed ()</h3>
<a class="indexterm" name="id3153787"></a><pre class="programlisting">void gnome_property_box_changed (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_property_box_changed</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
When a setting has changed, the code needs to invoke this routine
to make the Ok/Apply buttons sensitive.</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_box</code></em> :</span></td>
<td> The GnomePropertyBox that contains the changed data
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3153852"></a><h3>
<a name="gnome-property-box-set-modified"></a>gnome_property_box_set_modified ()</h3>
<a class="indexterm" name="id3153868"></a><pre class="programlisting">void gnome_property_box_set_modified (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> state);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_property_box_set_modified</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This sets the modified flag of the GnomePropertyBox to the value in <em class="parameter"><code>state</code></em>.
Affects whether the OK/Apply buttons are sensitive.</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_box</code></em> :</span></td>
<td> The GnomePropertyBox that contains the changed data
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state</code></em> :</span></td>
<td> The state. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> means modified, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> means unmodified.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3153982"></a><h3>
<a name="gnome-property-box-append-page"></a>gnome_property_box_append_page ()</h3>
<a class="indexterm" name="id3153998"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gnome_property_box_append_page (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *child,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *tab_label);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_property_box_append_page</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Appends a new page to the GnomePropertyBox.</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_box</code></em> :</span></td>
<td> The property box where we are inserting a new page
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child</code></em> :</span></td>
<td> The widget that is being inserted
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>tab_label</code></em> :</span></td>
<td> The widget used as the label for this confiugration page
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td>the assigned index of the page inside the GnomePropertyBox or
-1 if one of the arguments is invalid.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3154120"></a><h3>
<a name="gnome-property-box-set-state"></a>gnome_property_box_set_state ()</h3>
<a class="indexterm" name="id3154136"></a><pre class="programlisting">void gnome_property_box_set_state (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *property_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> state);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_property_box_set_state</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
An alias for <a href="GnomePropertyBox.html#gnome-property-box-set-modified"><code class="function">gnome_property_box_set_modified()</code></a>.</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_box</code></em> :</span></td>
<td> The GnomePropertyBox that contains the changed data
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state</code></em> :</span></td>
<td> The state. <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> means modified, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> means unmodified.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3154255"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3154265"></a><h3>
<a name="GnomePropertyBox-apply"></a>The "apply" signal</h3>
<a class="indexterm" name="id3154275"></a><pre class="programlisting">void user_function (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *propertybox,
<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#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>propertybox</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>the notebook page number which emitted the signal.
</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>
<hr>
<div class="refsect2" lang="en">
<a name="id3154366"></a><h3>
<a name="GnomePropertyBox-help"></a>The "help" signal</h3>
<a class="indexterm" name="id3154376"></a><pre class="programlisting">void user_function (<a href="GnomePropertyBox.html" title="GnomePropertyBox">GnomePropertyBox</a> *propertybox,
<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#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>propertybox</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>the notebook page number which emitted the signal.
</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>