~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpPixmap.html

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
Import upstream version 2.6.7

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=UTF-8">
5
5
<title>GimpPixmap</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpPickButton.html" title="GimpPickButton">
10
10
<link rel="next" href="GimpPreviewArea.html" title="GimpPreviewArea">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
34
34
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
35
35
<td><a accesskey="n" href="GimpPreviewArea.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
36
36
</tr>
37
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpPixmap.synopsis" class="shortcut">Top</a>
38
 
                   | 
39
 
                  <a href="#GimpPixmap.description" class="shortcut">Description</a>
40
 
                   | 
41
 
                  <a href="#GimpPixmap.object-hierarchy" class="shortcut">Object Hierarchy</a>
42
 
                   | 
43
 
                  <a href="#GimpPixmap.implemented-interfaces" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts">
 
38
<a href="#GimpPixmap.synopsis" class="shortcut">Top</a>
 
39
                 | 
 
40
                <a href="#GimpPixmap.description" class="shortcut">Description</a>
 
41
                 | 
 
42
                <a href="#GimpPixmap.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
43
                 | 
 
44
                <a href="#GimpPixmap.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
45
</td></tr>
44
46
</table>
45
 
<div class="refentry" lang="en">
 
47
<div class="refentry" title="GimpPixmap">
46
48
<a name="GimpPixmap"></a><div class="titlepage"></div>
47
49
<div class="refnamediv"><table width="100%"><tr>
48
50
<td valign="top">
49
51
<h2><span class="refentrytitle"><a name="GimpPixmap.top_of_page"></a>GimpPixmap</span></h2>
50
52
<p>GimpPixmap — Widget which creates a <a
51
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
 
53
href="http://library.gnome.org/devel/gtk/unstable/GtkPixmap.html"
52
54
><span class="type">GtkPixmap</span></a> from XPM data.</p>
53
55
</td>
54
56
<td valign="top" align="right"></td>
55
57
</tr></table></div>
56
 
<div class="refsynopsisdiv">
 
58
<div class="refsynopsisdiv" title="Synopsis">
57
59
<a name="GimpPixmap.synopsis"></a><h2>Synopsis</h2>
58
60
<pre class="synopsis">
59
61
                    <a class="link" href="GimpPixmap.html#GimpPixmap-struct" title="GimpPixmap">GimpPixmap</a>;
60
62
<a
61
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
62
 
>GtkWidget</a>*          <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()">gimp_pixmap_new</a>                     (<a
 
63
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
64
>GtkWidget</a> *         <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()">gimp_pixmap_new</a>                     (<a
63
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
64
66
>gchar</a> **xpm_data);
65
67
void                <a class="link" href="GimpPixmap.html#gimp-pixmap-set" title="gimp_pixmap_set ()">gimp_pixmap_set</a>                     (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
68
70
>gchar</a> **xpm_data);
69
71
</pre>
70
72
</div>
71
 
<div class="refsect1" lang="en">
 
73
<div class="refsect1" title="Object Hierarchy">
72
74
<a name="GimpPixmap.object-hierarchy"></a><h2>Object Hierarchy</h2>
73
75
<pre class="synopsis">
74
76
  <a
78
80
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
79
81
>GInitiallyUnowned</a>
80
82
         +----<a
81
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
 
83
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
82
84
>GtkObject</a>
83
85
               +----<a
84
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
 
86
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
85
87
>GtkWidget</a>
86
88
                     +----<a
87
 
href="/usr/share/gtk-doc/html/gtk/GtkMisc.html"
 
89
href="http://library.gnome.org/devel/gtk/unstable/GtkMisc.html"
88
90
>GtkMisc</a>
89
91
                           +----<a
90
 
href="/usr/share/gtk-doc/html/gtk/GtkImage.html"
 
92
href="http://library.gnome.org/devel/gtk/unstable/GtkImage.html"
91
93
>GtkImage</a>
92
94
                                 +----GimpPixmap
93
95
</pre>
94
96
</div>
95
 
<div class="refsect1" lang="en">
 
97
<div class="refsect1" title="Implemented Interfaces">
96
98
<a name="GimpPixmap.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
97
99
<p>
98
100
GimpPixmap implements
99
 
 AtkImplementorIface and  <a
100
 
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
101
 
>GtkBuildable</a>.</p>
 
101
 <a
 
102
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
 
103
>GtkBuildable</a> and  AtkImplementorIface.</p>
102
104
</div>
103
 
<div class="refsect1" lang="en">
 
105
<div class="refsect1" title="Description">
104
106
<a name="GimpPixmap.description"></a><h2>Description</h2>
105
107
<p>
106
108
Widget which creates a <a
107
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
 
109
href="http://library.gnome.org/devel/gtk/unstable/GtkPixmap.html"
108
110
><span class="type">GtkPixmap</span></a> from XPM data.
109
111
</p>
110
112
<p>
111
113
Use this widget instead of <a
112
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
 
114
href="http://library.gnome.org/devel/gtk/unstable/GtkPixmap.html"
113
115
><span class="type">GtkPixmap</span></a> if you don't want to worry about
114
116
the parent container's "realized" state.
115
117
</p>
116
118
<p>
117
119
Note that the drawback of the easy interface is that the actual <a
118
 
href="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
 
120
href="http://library.gnome.org/devel/gdk/unstable/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
119
121
><span class="type">GdkPixmap</span></a>
120
122
and it's mask have to be constructed every time you call <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()"><code class="function">gimp_pixmap_new()</code></a>
121
123
and cannot be cached in memory without doing bad hacks.
122
124
</p>
123
125
</div>
124
 
<div class="refsect1" lang="en">
 
126
<div class="refsect1" title="Details">
125
127
<a name="GimpPixmap.details"></a><h2>Details</h2>
126
 
<div class="refsect2" lang="en">
 
128
<div class="refsect2" title="GimpPixmap">
127
129
<a name="GimpPixmap-struct"></a><h3>GimpPixmap</h3>
128
130
<pre class="programlisting">typedef struct _GimpPixmap GimpPixmap;</pre>
129
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
131
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
130
132
<h3 class="title">Warning</h3>
131
133
<p><code class="literal">GimpPixmap</code> is deprecated and should not be used in newly-written code.</p>
132
134
</div>
133
135
<p>
134
 
 
135
136
</p>
136
137
</div>
137
138
<hr>
138
 
<div class="refsect2" lang="en">
 
139
<div class="refsect2" title="gimp_pixmap_new ()">
139
140
<a name="gimp-pixmap-new"></a><h3>gimp_pixmap_new ()</h3>
140
141
<pre class="programlisting"><a
141
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
142
 
>GtkWidget</a>*          gimp_pixmap_new                     (<a
 
142
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
143
>GtkWidget</a> *         gimp_pixmap_new                     (<a
143
144
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
144
145
>gchar</a> **xpm_data);</pre>
145
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
146
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
146
147
<h3 class="title">Warning</h3>
147
148
<p><code class="literal">gimp_pixmap_new</code> is deprecated and should not be used in newly-written code.</p>
148
149
</div>
149
150
<p>
150
151
Creates a new <a class="link" href="GimpPixmap.html" title="GimpPixmap"><span class="type">GimpPixmap</span></a> widget.</p>
151
152
<p>
152
 
 
153
153
</p>
154
154
<div class="variablelist"><table border="0">
155
155
<col align="left" valign="top">
168
168
</table></div>
169
169
</div>
170
170
<hr>
171
 
<div class="refsect2" lang="en">
 
171
<div class="refsect2" title="gimp_pixmap_set ()">
172
172
<a name="gimp-pixmap-set"></a><h3>gimp_pixmap_set ()</h3>
173
173
<pre class="programlisting">void                gimp_pixmap_set                     (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
174
174
                                                         <a
175
175
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
176
176
>gchar</a> **xpm_data);</pre>
177
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
177
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
178
178
<h3 class="title">Warning</h3>
179
179
<p><code class="literal">gimp_pixmap_set</code> is deprecated and should not be used in newly-written code.</p>
180
180
</div>
181
181
<p>
182
182
Sets a new image for an existing <a class="link" href="GimpPixmap.html" title="GimpPixmap"><span class="type">GimpPixmap</span></a> widget.</p>
183
183
<p>
184
 
 
185
184
</p>
186
185
<div class="variablelist"><table border="0">
187
186
<col align="left" valign="top">
200
199
</table></div>
201
200
</div>
202
201
</div>
203
 
<div class="refsect1" lang="en">
 
202
<div class="refsect1" title="See Also">
204
203
<a name="GimpPixmap.see-also"></a><h2>See Also</h2>
205
204
<p>
206
205
<a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new" title="gimp_pixmap_button_new ()"><code class="function">gimp_pixmap_button_new()</code></a>
207
206
</p>
208
207
<p>
209
208
<a
210
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
 
209
href="http://library.gnome.org/devel/gtk/unstable/GtkPixmap.html"
211
210
><span class="type">GtkPixmap</span></a>
212
211
</p>
213
212
</div>
214
213
</div>
215
214
<div class="footer">
216
215
<hr>
217
 
          Generated by GTK-Doc V1.10</div>
 
216
          Generated by GTK-Doc V1.11</div>
218
217
</body>
219
218
</html>