Imported Upstream version 2.3.9
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
@ -7,7 +8,7 @@
|
||||
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<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.4 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (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">
|
||||
@ -24,18 +25,27 @@
|
||||
<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" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<table class="navigation" id="top" 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></table>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#signal_proto" class="shortcut">Signals</a></nobr></td></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><span class="refentrytitle">GimpUnitMenu</span></h2>
|
||||
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpUnitMenu</span></h2>
|
||||
<p>GimpUnitMenu — Widget for selecting a <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
><span class="type">GimpUnit</span></a>.</p>
|
||||
@ -43,15 +53,13 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
<td valign="top" align="right"><img src="gimp-unit-menu.png"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
|
||||
<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,
|
||||
GtkWidget* <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,
|
||||
@ -72,53 +80,39 @@ void <a href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits">gimp_uni
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2588343"></a><h2>Object Hierarchy</h2>
|
||||
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----GInitiallyUnowned
|
||||
+----<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>
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBin
|
||||
+----GtkButton
|
||||
+----GtkOptionMenu
|
||||
+----GimpUnitMenu
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2587007"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpUnitMenu implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2587024"></a><h2>Signal Prototypes</h2>
|
||||
<a name="signal_proto"></a><h2>Signals</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<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);
|
||||
gpointer user_data) : Run first
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2587062"></a><h2>Description</h2>
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<p>
|
||||
This widget provides a <a
|
||||
href="../gtk/GtkOptionMenu.html"
|
||||
><span class="type">GtkOptionMenu</span></a> which contains a list of <a
|
||||
This widget provides a <span class="type">GtkOptionMenu</span> which contains a list of <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
><span class="type">GimpUnit</span></a>'s.
|
||||
</p>
|
||||
@ -137,22 +131,20 @@ Whenever the user selects a unit from the menu or the dialog, the
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2587120"></a><h2>Details</h2>
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2587126"></a><h3>
|
||||
<a name="id2592315"></a><h3>
|
||||
<a name="GimpUnitMenu-struct"></a>GimpUnitMenu</h3>
|
||||
<a class="indexterm" name="id2587136"></a><pre class="programlisting">typedef struct _GimpUnitMenu GimpUnitMenu;</pre>
|
||||
<a class="indexterm" name="id2592326"></a><pre class="programlisting">typedef struct _GimpUnitMenu GimpUnitMenu;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2587152"></a><h3>
|
||||
<a name="id2592342"></a><h3>
|
||||
<a name="gimp-unit-menu-new"></a>gimp_unit_menu_new ()</h3>
|
||||
<a class="indexterm" name="id2587162"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_unit_menu_new (const gchar *format,
|
||||
<a class="indexterm" name="id2592354"></a><pre class="programlisting">GtkWidget* gimp_unit_menu_new (const gchar *format,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> unit,
|
||||
@ -250,9 +242,9 @@ The <em class="parameter"><code>format</code></em> string supports the following
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2588576"></a><h3>
|
||||
<a name="id2592670"></a><h3>
|
||||
<a name="gimp-unit-menu-set-unit"></a>gimp_unit_menu_set_unit ()</h3>
|
||||
<a class="indexterm" name="id2588585"></a><pre class="programlisting">void gimp_unit_menu_set_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
<a class="indexterm" name="id2592681"></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>
|
||||
@ -283,9 +275,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2588671"></a><h3>
|
||||
<a name="id2592767"></a><h3>
|
||||
<a name="gimp-unit-menu-get-unit"></a>gimp_unit_menu_get_unit ()</h3>
|
||||
<a class="indexterm" name="id2588680"></a><pre class="programlisting"><a
|
||||
<a class="indexterm" name="id2592778"></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>
|
||||
<p>
|
||||
@ -315,9 +307,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2588756"></a><h3>
|
||||
<a name="id2592853"></a><h3>
|
||||
<a name="gimp-unit-menu-get-pixel-digits"></a>gimp_unit_menu_get_pixel_digits ()</h3>
|
||||
<a class="indexterm" name="id2588765"></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="id2592864"></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>
|
||||
@ -344,9 +336,9 @@ Retrieve the number of digits for a pixel size as set by
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2588842"></a><h3>
|
||||
<a name="id2592942"></a><h3>
|
||||
<a name="gimp-unit-menu-set-pixel-digits"></a>gimp_unit_menu_set_pixel_digits ()</h3>
|
||||
<a class="indexterm" name="id2588851"></a><pre class="programlisting">void gimp_unit_menu_set_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
|
||||
<a class="indexterm" name="id2592953"></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
|
||||
@ -382,12 +374,12 @@ here. You should do this after attaching your spinbuttons.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2588951"></a><h2>Signals</h2>
|
||||
<a name="signals"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2588957"></a><h3>
|
||||
<a name="id2589491"></a><h3>
|
||||
<a name="GimpUnitMenu-unit-changed"></a>The "unit-changed" signal</h3>
|
||||
<pre class="programlisting">void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
|
||||
gpointer user_data);</pre>
|
||||
<a class="indexterm" name="id2589499"></a><pre class="programlisting">void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
|
||||
gpointer user_data) : Run first</pre>
|
||||
<p>
|
||||
This signal is emitted whenever the user selects a <a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -407,7 +399,7 @@ the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnit
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2585621"></a><h2>See Also</h2>
|
||||
<a name="id2589572"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -421,9 +413,5 @@ 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