~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimppalettemenu.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimppalettemenu</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
 
<link rel="up" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
8
<link rel="up" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
9
9
<link rel="prev" href="libgimp-gimpgradientmenu.html" title="gimpgradientmenu">
10
10
<link rel="next" href="libgimp-gimppatternmenu.html" title="gimppatternmenu">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimppatternmenu.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2555524" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2567707" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2653269" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2613802" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimppalettemenu"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2555524"></a><span class="refentrytitle">gimppalettemenu</span>
 
43
<a name="id2567707"></a><span class="refentrytitle">gimppalettemenu</span>
41
44
</h2>
42
45
<p>gimppalettemenu &#8212; A widget for selecting palettes.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
GtkWidget*  <a href="libgimp-gimppalettemenu.html#gimp-palette-select-widget-new">gimp_palette_select_widget_new</a>  (const gchar *title,
53
 
                                             const gchar *palette_name,
54
 
                                             <a href="libgimp-gimppaletteselect.html#GimpRunPaletteCallback">GimpRunPaletteCallback</a> callback,
55
 
                                             gpointer data);
56
 
void        <a href="libgimp-gimppalettemenu.html#gimp-palette-select-widget-close">gimp_palette_select_widget_close</a>
57
 
                                            (GtkWidget *widget);
58
 
void        <a href="libgimp-gimppalettemenu.html#gimp-palette-select-widget-set">gimp_palette_select_widget_set</a>  (GtkWidget *widget,
59
 
                                             const gchar *palette_name);
 
55
GtkWidget*          <a href="libgimp-gimppalettemenu.html#gimp-palette-select-widget-new">gimp_palette_select_widget_new</a>      (const gchar *title,
 
56
                                                         const gchar *palette_name,
 
57
                                                         <a href="libgimp-gimppaletteselect.html#GimpRunPaletteCallback">GimpRunPaletteCallback</a> callback,
 
58
                                                         gpointer data);
 
59
void                <a href="libgimp-gimppalettemenu.html#gimp-palette-select-widget-close">gimp_palette_select_widget_close</a>    (GtkWidget *widget);
 
60
void                <a href="libgimp-gimppalettemenu.html#gimp-palette-select-widget-set">gimp_palette_select_widget_set</a>      (GtkWidget *widget,
 
61
                                                         const gchar *palette_name);
60
62
</pre>
61
63
</div>
62
64
<div class="refsect1" lang="en">
63
 
<a name="id2653269"></a><h2>Description</h2>
 
65
<a name="id2613802"></a><h2>Description</h2>
64
66
<p>
65
67
A widget for selecting palettes.
66
68
</p>
67
69
</div>
68
70
<div class="refsect1" lang="en">
69
 
<a name="id2653284"></a><h2>Details</h2>
 
71
<a name="id2722931"></a><h2>Details</h2>
70
72
<div class="refsect2" lang="en">
71
 
<a name="id2653295"></a><h3>
 
73
<a name="id2722942"></a><h3>
72
74
<a name="gimp-palette-select-widget-new"></a>gimp_palette_select_widget_new ()</h3>
73
 
<a class="indexterm" name="id2653308"></a><pre class="programlisting">GtkWidget*  gimp_palette_select_widget_new  (const gchar *title,
74
 
                                             const gchar *palette_name,
75
 
                                             <a href="libgimp-gimppaletteselect.html#GimpRunPaletteCallback">GimpRunPaletteCallback</a> callback,
76
 
                                             gpointer data);</pre>
 
75
<a class="indexterm" name="id2722955"></a><a class="indexterm" name="id2722963"></a><pre class="programlisting">GtkWidget*          gimp_palette_select_widget_new      (const gchar *title,
 
76
                                                         const gchar *palette_name,
 
77
                                                         <a href="libgimp-gimppaletteselect.html#GimpRunPaletteCallback">GimpRunPaletteCallback</a> callback,
 
78
                                                         gpointer data);</pre>
 
79
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
80
<h3 class="title">Warning</h3>
 
81
<p><code class="literal">gimp_palette_select_widget_new</code> is deprecated and should not be used in newly-written code.</p>
 
82
</div>
77
83
<p>
78
84
Creates a new <span class="type">GtkWidget</span> that completely controls the selection of
79
85
a palette.  This widget is suitable for placement in a table in a
85
91
<col align="left" valign="top">
86
92
<tbody>
87
93
<tr>
88
 
<td>
89
 
<span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
90
 
<td>        Title of the dialog to use or <code class="literal">NULL</code> means to use the default
91
 
               title.
 
94
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
 
95
<td>        Title of the dialog to use or <code class="literal">NULL</code> to use the default title.
92
96
</td>
93
97
</tr>
94
98
<tr>
95
 
<td>
96
 
<span class="term"><em class="parameter"><code>palette_name</code></em>&#160;:</span></td>
 
99
<td><span class="term"><em class="parameter"><code>palette_name</code></em>&#160;:</span></td>
97
100
<td> Initial palette name.
98
101
</td>
99
102
</tr>
100
103
<tr>
101
 
<td>
102
 
<span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
 
104
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
103
105
<td>     A function to call when the selected palette changes.
104
106
</td>
105
107
</tr>
106
108
<tr>
107
 
<td>
108
 
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
 
109
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
109
110
<td>         A pointer to arbitary data to be used in the call to <em class="parameter"><code>callback</code></em>.
110
111
</td>
111
112
</tr>
112
113
<tr>
113
 
<td>
114
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
114
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
115
115
<td> A <span class="type">GtkWidget</span> that you can use in your UI.
116
116
 
117
117
</td>
118
118
</tr>
119
119
</tbody>
120
120
</table></div>
121
 
<p>Since  GIMP 2.2
 
121
<p class="since">Since  GIMP 2.2
122
122
</p>
123
123
</div>
124
124
<hr>
125
125
<div class="refsect2" lang="en">
126
 
<a name="id2659265"></a><h3>
 
126
<a name="id2714635"></a><h3>
127
127
<a name="gimp-palette-select-widget-close"></a>gimp_palette_select_widget_close ()</h3>
128
 
<a class="indexterm" name="id2659278"></a><pre class="programlisting">void        gimp_palette_select_widget_close
129
 
                                            (GtkWidget *widget);</pre>
 
128
<a class="indexterm" name="id2714648"></a><a class="indexterm" name="id2714656"></a><pre class="programlisting">void                gimp_palette_select_widget_close    (GtkWidget *widget);</pre>
 
129
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
130
<h3 class="title">Warning</h3>
 
131
<p><code class="literal">gimp_palette_select_widget_close</code> is deprecated and should not be used in newly-written code.</p>
 
132
</div>
130
133
<p>
131
134
Closes the popup window associated with <em class="parameter"><code>widget</code></em>.</p>
132
135
<p>
135
138
<div class="variablelist"><table border="0">
136
139
<col align="left" valign="top">
137
140
<tbody><tr>
138
 
<td>
139
 
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
141
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
140
142
<td> A palette select widget.
141
143
</td>
142
144
</tr></tbody>
143
145
</table></div>
144
 
<p>Since  GIMP 2.2
 
146
<p class="since">Since  GIMP 2.2
145
147
</p>
146
148
</div>
147
149
<hr>
148
150
<div class="refsect2" lang="en">
149
 
<a name="id2659338"></a><h3>
 
151
<a name="id2714727"></a><h3>
150
152
<a name="gimp-palette-select-widget-set"></a>gimp_palette_select_widget_set ()</h3>
151
 
<a class="indexterm" name="id2659351"></a><pre class="programlisting">void        gimp_palette_select_widget_set  (GtkWidget *widget,
152
 
                                             const gchar *palette_name);</pre>
 
153
<a class="indexterm" name="id2714740"></a><a class="indexterm" name="id2714748"></a><pre class="programlisting">void                gimp_palette_select_widget_set      (GtkWidget *widget,
 
154
                                                         const gchar *palette_name);</pre>
 
155
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
156
<h3 class="title">Warning</h3>
 
157
<p><code class="literal">gimp_palette_select_widget_set</code> is deprecated and should not be used in newly-written code.</p>
 
158
</div>
153
159
<p>
154
160
Sets the current palette for the palette select widget.  Calls the
155
161
callback function if one was supplied in the call to
161
167
<col align="left" valign="top">
162
168
<tbody>
163
169
<tr>
164
 
<td>
165
 
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
 
170
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
166
171
<td>       A palette select widget.
167
172
</td>
168
173
</tr>
169
174
<tr>
170
 
<td>
171
 
<span class="term"><em class="parameter"><code>palette_name</code></em>&#160;:</span></td>
 
175
<td><span class="term"><em class="parameter"><code>palette_name</code></em>&#160;:</span></td>
172
176
<td> Palette name to set; <code class="literal">NULL</code> means no change.
173
177
</td>
174
178
</tr>
175
179
</tbody>
176
180
</table></div>
177
 
<p>Since  GIMP 2.2
 
181
<p class="since">Since  GIMP 2.2
178
182
</p>
179
183
</div>
180
184
</div>