Imported Upstream version 2.3.6
This commit is contained in:
@ -1,55 +1,46 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>GimpUnitMenu</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
|
||||
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="prev" href="libgimpwidgets-GimpScrolledPreview.html" title="GimpScrolledPreview">
|
||||
<link rel="prev" href="GimpScrolledPreview.html" title="GimpScrolledPreview">
|
||||
<link rel="next" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
|
||||
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
|
||||
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
|
||||
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
|
||||
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
|
||||
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
|
||||
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
|
||||
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
|
||||
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
|
||||
<link rel="index" href="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
</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="libgimpwidgets-GimpScrolledPreview.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<td><a accesskey="p" href="GimpScrolledPreview.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimpwidgets-widgets.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">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpwidgets-cell-renderers.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="#id2580974" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2566978" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#id2566669" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#id2566932" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2566954" class="shortcut">Signals</a></nobr></td></tr>
|
||||
</table>
|
||||
</tr></table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="GimpUnitMenu"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2580974"></a><span class="refentrytitle">GimpUnitMenu</span>
|
||||
</h2>
|
||||
<h2><span class="refentrytitle">GimpUnitMenu</span></h2>
|
||||
<p>GimpUnitMenu — Widget for selecting a <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
><span class="type">GimpUnit</span></a>.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
<td valign="top" align="right"><img src="gimp-unit-menu.png"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
@ -57,59 +48,76 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
|
||||
|
||||
|
||||
<a href="GimpUnitMenu.html#GimpUnitMenu-struct">GimpUnitMenu</a>;
|
||||
GtkWidget* <a href="GimpUnitMenu.html#gimp-unit-menu-new">gimp_unit_menu_new</a> (const gchar *format,
|
||||
<a
|
||||
<a href="GimpUnitMenu.html#GimpUnitMenu-struct">GimpUnitMenu</a>;
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpUnitMenu.html#gimp-unit-menu-new">gimp_unit_menu_new</a> (const gchar *format,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> unit,
|
||||
gboolean show_pixels,
|
||||
gboolean show_percent,
|
||||
gboolean show_custom);
|
||||
void <a href="GimpUnitMenu.html#gimp-unit-menu-set-unit">gimp_unit_menu_set_unit</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
<a
|
||||
gboolean show_pixels,
|
||||
gboolean show_percent,
|
||||
gboolean show_custom);
|
||||
void <a href="GimpUnitMenu.html#gimp-unit-menu-set-unit">gimp_unit_menu_set_unit</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> unit);
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> <a href="GimpUnitMenu.html#gimp-unit-menu-get-unit">gimp_unit_menu_get_unit</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
|
||||
gint <a href="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits">gimp_unit_menu_get_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
|
||||
void <a href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits">gimp_unit_menu_set_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
gint digits);
|
||||
>GimpUnit</a> <a href="GimpUnitMenu.html#gimp-unit-menu-get-unit">gimp_unit_menu_get_unit</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
|
||||
gint <a href="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits">gimp_unit_menu_get_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
|
||||
void <a href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits">gimp_unit_menu_set_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
gint digits);
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2566669"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2587758"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBin
|
||||
+----GtkButton
|
||||
+----GtkOptionMenu
|
||||
+----GimpUnitMenu
|
||||
+----<a
|
||||
href="../gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="../gtk/GtkBin.html"
|
||||
>GtkBin</a>
|
||||
+----<a
|
||||
href="../gtk/GtkButton.html"
|
||||
>GtkButton</a>
|
||||
+----<a
|
||||
href="../gtk/GtkOptionMenu.html"
|
||||
>GtkOptionMenu</a>
|
||||
+----GimpUnitMenu
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2566932"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2587814"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpUnitMenu implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2566954"></a><h2>Signals</h2>
|
||||
<a name="id2586432"></a><h2>Signal Prototypes</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a href="GimpUnitMenu.html#GimpUnitMenu-unit-changed">unit-changed</a>" : Run First
|
||||
"<a href="GimpUnitMenu.html#GimpUnitMenu-unit-changed">unit-changed</a>"
|
||||
void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
|
||||
gpointer user_data);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2566978"></a><h2>Description</h2>
|
||||
<a name="id2586471"></a><h2>Description</h2>
|
||||
<p>
|
||||
This widget provides a <span class="type">GtkOptionMenu</span> which contains a list of <a
|
||||
This widget provides a <a
|
||||
href="../gtk/GtkOptionMenu.html"
|
||||
><span class="type">GtkOptionMenu</span></a> which contains a list of <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
><span class="type">GimpUnit</span></a>'s.
|
||||
</p>
|
||||
@ -128,26 +136,28 @@ Whenever the user selects a unit from the menu or the dialog, the
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2567040"></a><h2>Details</h2>
|
||||
<a name="id2586528"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2617362"></a><h3>
|
||||
<a name="id2586534"></a><h3>
|
||||
<a name="GimpUnitMenu-struct"></a>GimpUnitMenu</h3>
|
||||
<a class="indexterm" name="id2617375"></a><pre class="programlisting">typedef struct _GimpUnitMenu GimpUnitMenu;</pre>
|
||||
<a class="indexterm" name="id2586544"></a><pre class="programlisting">typedef struct _GimpUnitMenu GimpUnitMenu;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2617390"></a><h3>
|
||||
<a name="id2586560"></a><h3>
|
||||
<a name="gimp-unit-menu-new"></a>gimp_unit_menu_new ()</h3>
|
||||
<a class="indexterm" name="id2617403"></a><pre class="programlisting">GtkWidget* gimp_unit_menu_new (const gchar *format,
|
||||
<a
|
||||
<a class="indexterm" name="id2586570"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_unit_menu_new (const gchar *format,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> unit,
|
||||
gboolean show_pixels,
|
||||
gboolean show_percent,
|
||||
gboolean show_custom);</pre>
|
||||
gboolean show_pixels,
|
||||
gboolean show_percent,
|
||||
gboolean show_custom);</pre>
|
||||
<p>
|
||||
Creates a new <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> widget.
|
||||
</p>
|
||||
@ -195,36 +205,42 @@ The <em class="parameter"><code>format</code></em> string supports the following
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>format</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>format</code></em> :</span></td>
|
||||
<td> A printf-like format string which is used to create the unit
|
||||
strings.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td> The initially selected unit.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>show_pixels</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>show_pixels</code></em> :</span></td>
|
||||
<td> <code class="literal">TRUE</code> if the unit menu should contain an item for
|
||||
GIMP_UNIT_PIXEL.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>show_percent</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>show_percent</code></em> :</span></td>
|
||||
<td> <code class="literal">TRUE</code> in the unit menu should contain an item for
|
||||
GIMP_UNIT_PERCENT.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>show_custom</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>show_custom</code></em> :</span></td>
|
||||
<td> <code class="literal">TRUE</code> if the unit menu should contain a "More..." item for
|
||||
opening the user-defined-unit selection dialog.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> widget.
|
||||
</td>
|
||||
</tr>
|
||||
@ -233,10 +249,10 @@ The <em class="parameter"><code>format</code></em> string supports the following
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2613117"></a><h3>
|
||||
<a name="id2580496"></a><h3>
|
||||
<a name="gimp-unit-menu-set-unit"></a>gimp_unit_menu_set_unit ()</h3>
|
||||
<a class="indexterm" name="id2613128"></a><pre class="programlisting">void gimp_unit_menu_set_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
<a
|
||||
<a class="indexterm" name="id2580505"></a><pre class="programlisting">void gimp_unit_menu_set_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> unit);</pre>
|
||||
<p>
|
||||
@ -250,12 +266,14 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td> The unit menu you want to set the unit for.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>unit</code></em> :</span></td>
|
||||
<td> The new unit.
|
||||
</td>
|
||||
</tr>
|
||||
@ -264,11 +282,11 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2613215"></a><h3>
|
||||
<a name="id2580591"></a><h3>
|
||||
<a name="gimp-unit-menu-get-unit"></a>gimp_unit_menu_get_unit ()</h3>
|
||||
<a class="indexterm" name="id2613226"></a><pre class="programlisting"><a
|
||||
<a class="indexterm" name="id2580600"></a><pre class="programlisting"><a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> gimp_unit_menu_get_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
|
||||
>GimpUnit</a> gimp_unit_menu_get_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
|
||||
<p>
|
||||
Returns the <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -280,12 +298,14 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td> The unit menu you want to know the unit of.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The unit the user has selected.
|
||||
</td>
|
||||
</tr>
|
||||
@ -294,9 +314,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2613301"></a><h3>
|
||||
<a name="id2580675"></a><h3>
|
||||
<a name="gimp-unit-menu-get-pixel-digits"></a>gimp_unit_menu_get_pixel_digits ()</h3>
|
||||
<a class="indexterm" name="id2613312"></a><pre class="programlisting">gint gimp_unit_menu_get_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
|
||||
<a class="indexterm" name="id2580684"></a><pre class="programlisting">gint gimp_unit_menu_get_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
|
||||
<p>
|
||||
Retrieve the number of digits for a pixel size as set by
|
||||
<code class="function">gimp_unit_set_pixel_digits()</code>.</p>
|
||||
@ -307,12 +327,14 @@ Retrieve the number of digits for a pixel size as set by
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td> a <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> the configured number of digits for a pixel size
|
||||
</td>
|
||||
</tr>
|
||||
@ -321,10 +343,10 @@ Retrieve the number of digits for a pixel size as set by
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2613390"></a><h3>
|
||||
<a name="id2588148"></a><h3>
|
||||
<a name="gimp-unit-menu-set-pixel-digits"></a>gimp_unit_menu_set_pixel_digits ()</h3>
|
||||
<a class="indexterm" name="id2613403"></a><pre class="programlisting">void gimp_unit_menu_set_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
gint digits);</pre>
|
||||
<a class="indexterm" name="id2588158"></a><pre class="programlisting">void gimp_unit_menu_set_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
gint digits);</pre>
|
||||
<p>
|
||||
A GimpUnitMenu can be setup to control the number of digits shown
|
||||
by attached spinbuttons. Please refer to the documentation of
|
||||
@ -343,12 +365,14 @@ here. You should do this after attaching your spinbuttons.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>menu</code></em> :</span></td>
|
||||
<td> a <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td> the number of digits to display for a pixel size
|
||||
</td>
|
||||
</tr>
|
||||
@ -357,12 +381,12 @@ here. You should do this after attaching your spinbuttons.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2613504"></a><h2>Signal Details</h2>
|
||||
<a name="id2588258"></a><h2>Signals</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2613515"></a><h3>
|
||||
<a name="id2588264"></a><h3>
|
||||
<a name="GimpUnitMenu-unit-changed"></a>The "unit-changed" signal</h3>
|
||||
<a class="indexterm" name="id2613522"></a><pre class="programlisting">void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
|
||||
gpointer user_data) : Run First</pre>
|
||||
<pre class="programlisting">void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
|
||||
gpointer user_data);</pre>
|
||||
<p>
|
||||
This signal is emitted whenever the user selects a <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -374,14 +398,15 @@ the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnit
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
|
||||
<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 class="refsect1" lang="en">
|
||||
<a name="id2619348"></a><h2>See Also</h2>
|
||||
<a name="id2588340"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -395,5 +420,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
|
||||
<td align="left"><a accesskey="p" href="GimpScrolledPreview.html"><b><< GimpScrolledPreview</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="libgimpwidgets-cell-renderers.html"><b>Cell Renderers for GtkTreeView >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user