~ubuntu-branches/ubuntu/gutsy/gimp/gutsy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-09-30 18:06:49 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070930180649-f647f0cxj32tgyn3
Tags: 2.4.0~rc3-1ubuntu1
* Resynchronized with Debian.
* Remaining Ubuntu changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - 10_dont_show_wizard.patch: Unused, upstream doesn't call it anymore.
  - Use dh_icons.
* Disabled the print plugin, and removed the Conflicts/Replaces on
  gimp-print.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
34
34
<td><a accesskey="n" href="GimpPreviewArea.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
35
35
</tr>
36
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585824" class="shortcut">Top</a>
37
 
                  &#160;|&#160;
38
 
                  <a href="#id2636356" class="shortcut">Description</a>
39
 
                  &#160;|&#160;
40
 
                  <a href="#id2641360" class="shortcut">Object Hierarchy</a>
41
 
                  &#160;|&#160;
42
 
                  <a href="#id2636329" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
 
36
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2610266" class="shortcut">Top</a>
 
37
                  &#160;|&#160;
 
38
                  <a href="#id2635137" class="shortcut">Description</a>
 
39
                  &#160;|&#160;
 
40
                  <a href="#id2617305" class="shortcut">Object Hierarchy</a>
 
41
                  &#160;|&#160;
 
42
                  <a href="#id2635110" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
43
43
</table>
44
44
<div class="refentry" lang="en">
45
45
<a name="GimpPixmap"></a><div class="titlepage"></div>
46
46
<div class="refnamediv"><table width="100%"><tr>
47
47
<td valign="top">
48
48
<h2>
49
 
<a name="id2585824"></a><span class="refentrytitle">GimpPixmap</span>
 
49
<a name="id2610266"></a><span class="refentrytitle">GimpPixmap</span>
50
50
</h2>
51
 
<p>GimpPixmap &#8212; Widget which creates a <span class="type">GtkPixmap</span> from XPM data.</p>
 
51
<p>GimpPixmap &#8212; Widget which creates a <a
 
52
href="../gtk/GtkPixmap.html"
 
53
><span class="type">GtkPixmap</span></a> from XPM data.</p>
52
54
</td>
53
55
<td valign="top" align="right"></td>
54
56
</tr></table></div>
59
61
 
60
62
 
61
63
                    <a class="link" href="GimpPixmap.html#GimpPixmap-struct">GimpPixmap</a>;
62
 
GtkWidget*          <a class="link" href="GimpPixmap.html#gimp-pixmap-new">gimp_pixmap_new</a>                     (gchar **xpm_data);
 
64
<a
 
65
href="../gtk/GtkWidget.html"
 
66
>GtkWidget</a>*          <a class="link" href="GimpPixmap.html#gimp-pixmap-new">gimp_pixmap_new</a>                     (<a
 
67
href="../glib/glib-Basic-Types.html#gchar"
 
68
>gchar</a> **xpm_data);
63
69
void                <a class="link" href="GimpPixmap.html#gimp-pixmap-set">gimp_pixmap_set</a>                     (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
64
 
                                                         gchar **xpm_data);
 
70
                                                         <a
 
71
href="../glib/glib-Basic-Types.html#gchar"
 
72
>gchar</a> **xpm_data);
65
73
 
66
74
</pre>
67
75
</div>
68
76
<div class="refsect1" lang="en">
69
 
<a name="id2641360"></a><h2>Object Hierarchy</h2>
 
77
<a name="id2617305"></a><h2>Object Hierarchy</h2>
70
78
<pre class="synopsis">
71
79
 
72
 
  GObject
73
 
   +----GInitiallyUnowned
74
 
         +----GtkObject
75
 
               +----GtkWidget
76
 
                     +----GtkMisc
77
 
                           +----GtkImage
 
80
  <a
 
81
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
 
82
>GObject</a>
 
83
   +----<a
 
84
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
85
>GInitiallyUnowned</a>
 
86
         +----<a
 
87
href="../gtk/GtkObject.html"
 
88
>GtkObject</a>
 
89
               +----<a
 
90
href="../gtk/GtkWidget.html"
 
91
>GtkWidget</a>
 
92
                     +----<a
 
93
href="../gtk/GtkMisc.html"
 
94
>GtkMisc</a>
 
95
                           +----<a
 
96
href="../gtk/GtkImage.html"
 
97
>GtkImage</a>
78
98
                                 +----GimpPixmap
79
99
</pre>
80
100
</div>
81
101
<div class="refsect1" lang="en">
82
 
<a name="id2636329"></a><h2>Implemented Interfaces</h2>
 
102
<a name="id2635110"></a><h2>Implemented Interfaces</h2>
83
103
<p>
84
104
GimpPixmap implements
85
105
 AtkImplementorIface and  GtkBuildable.</p>
86
106
</div>
87
107
<div class="refsect1" lang="en">
88
 
<a name="id2636356"></a><h2>Description</h2>
 
108
<a name="id2635137"></a><h2>Description</h2>
89
109
<p>
90
 
Widget which creates a <span class="type">GtkPixmap</span> from XPM data.
 
110
Widget which creates a <a
 
111
href="../gtk/GtkPixmap.html"
 
112
><span class="type">GtkPixmap</span></a> from XPM data.
91
113
</p>
92
114
<p>
93
 
Use this widget instead of <span class="type">GtkPixmap</span> if you don't want to worry about
 
115
Use this widget instead of <a
 
116
href="../gtk/GtkPixmap.html"
 
117
><span class="type">GtkPixmap</span></a> if you don't want to worry about
94
118
the parent container's "realized" state.
95
119
</p>
96
120
<p>
97
 
Note that the drawback of the easy interface is that the actual <span class="type">GdkPixmap</span>
 
121
Note that the drawback of the easy interface is that the actual <a
 
122
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
 
123
><span class="type">GdkPixmap</span></a>
98
124
and it's mask have to be constructed every time you call <a class="link" href="GimpPixmap.html#gimp-pixmap-new"><code class="function">gimp_pixmap_new()</code></a>
99
125
and cannot be cached in memory without doing bad hacks.
100
126
</p>
101
127
</div>
102
128
<div class="refsect1" lang="en">
103
 
<a name="id2636414"></a><h2>Details</h2>
 
129
<a name="id2635194"></a><h2>Details</h2>
104
130
<div class="refsect2" lang="en">
105
 
<a name="id2636424"></a><h3>
 
131
<a name="id2635205"></a><h3>
106
132
<a name="GimpPixmap-struct"></a>GimpPixmap</h3>
107
 
<a class="indexterm" name="id2636437"></a><pre class="programlisting">typedef struct _GimpPixmap GimpPixmap;</pre>
 
133
<a class="indexterm" name="id2641772"></a><pre class="programlisting">typedef struct _GimpPixmap GimpPixmap;</pre>
108
134
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
109
135
<h3 class="title">Warning</h3>
110
136
<p><code class="literal">GimpPixmap</code> is deprecated and should not be used in newly-written code.</p>
115
141
</div>
116
142
<hr>
117
143
<div class="refsect2" lang="en">
118
 
<a name="id2637506"></a><h3>
 
144
<a name="id2641798"></a><h3>
119
145
<a name="gimp-pixmap-new"></a>gimp_pixmap_new ()</h3>
120
 
<a class="indexterm" name="id2637520"></a><pre class="programlisting">GtkWidget*          gimp_pixmap_new                     (gchar **xpm_data);</pre>
 
146
<a class="indexterm" name="id2641813"></a><pre class="programlisting"><a
 
147
href="../gtk/GtkWidget.html"
 
148
>GtkWidget</a>*          gimp_pixmap_new                     (<a
 
149
href="../glib/glib-Basic-Types.html#gchar"
 
150
>gchar</a> **xpm_data);</pre>
121
151
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
122
152
<h3 class="title">Warning</h3>
123
153
<p><code class="literal">gimp_pixmap_new</code> is deprecated and should not be used in newly-written code.</p>
145
175
</div>
146
176
<hr>
147
177
<div class="refsect2" lang="en">
148
 
<a name="id2637608"></a><h3>
 
178
<a name="id2641901"></a><h3>
149
179
<a name="gimp-pixmap-set"></a>gimp_pixmap_set ()</h3>
150
 
<a class="indexterm" name="id2637623"></a><pre class="programlisting">void                gimp_pixmap_set                     (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
151
 
                                                         gchar **xpm_data);</pre>
 
180
<a class="indexterm" name="id2641916"></a><pre class="programlisting">void                gimp_pixmap_set                     (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
 
181
                                                         <a
 
182
href="../glib/glib-Basic-Types.html#gchar"
 
183
>gchar</a> **xpm_data);</pre>
152
184
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
153
185
<h3 class="title">Warning</h3>
154
186
<p><code class="literal">gimp_pixmap_set</code> is deprecated and should not be used in newly-written code.</p>
176
208
</div>
177
209
</div>
178
210
<div class="refsect1" lang="en">
179
 
<a name="id2637717"></a><h2>See Also</h2>
 
211
<a name="id2635483"></a><h2>See Also</h2>
180
212
<p>
181
213
<a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new"><code class="function">gimp_pixmap_button_new()</code></a>
182
214
</p>
183
215
<p>
184
 
<span class="type">GtkPixmap</span>
 
216
<a
 
217
href="../gtk/GtkPixmap.html"
 
218
><span class="type">GtkPixmap</span></a>
185
219
</p>
186
220
</div>
187
221
</div>