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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
<div class="refnamediv"><table width="100%"><tr>
47
47
<td valign="top">
48
48
<h2><span class="refentrytitle"><a name="GimpPixmap.top_of_page"></a>GimpPixmap</span></h2>
49
 
<p>GimpPixmap — Widget which creates a <a
50
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
51
 
><span class="type">GtkPixmap</span></a> from XPM data.</p>
 
49
<p>GimpPixmap — Widget which creates a <span class="type">GtkPixmap</span> from XPM data.</p>
52
50
</td>
53
51
<td valign="top" align="right"></td>
54
52
</tr></table></div>
56
54
<a name="GimpPixmap.synopsis"></a><h2>Synopsis</h2>
57
55
<pre class="synopsis">
58
56
                    <a class="link" href="GimpPixmap.html#GimpPixmap-struct" title="GimpPixmap">GimpPixmap</a>;
59
 
<a
60
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
 
>GtkWidget</a>*          <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()">gimp_pixmap_new</a>                     (<a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
63
 
>gchar</a> **xpm_data);
 
57
GtkWidget*          <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()">gimp_pixmap_new</a>                     (gchar **xpm_data);
64
58
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,
65
 
                                                         <a
66
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
67
 
>gchar</a> **xpm_data);
 
59
                                                         gchar **xpm_data);
68
60
</pre>
69
61
</div>
70
62
<div class="refsect1" lang="en">
71
63
<a name="GimpPixmap.object-hierarchy"></a><h2>Object Hierarchy</h2>
72
64
<pre class="synopsis">
73
 
  <a
74
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
75
 
>GObject</a>
76
 
   +----<a
77
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
78
 
>GInitiallyUnowned</a>
79
 
         +----<a
80
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
81
 
>GtkObject</a>
82
 
               +----<a
83
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
84
 
>GtkWidget</a>
85
 
                     +----<a
86
 
href="/usr/share/gtk-doc/html/gtk/GtkMisc.html"
87
 
>GtkMisc</a>
88
 
                           +----<a
89
 
href="/usr/share/gtk-doc/html/gtk/GtkImage.html"
90
 
>GtkImage</a>
 
65
  GObject
 
66
   +----GInitiallyUnowned
 
67
         +----GtkObject
 
68
               +----GtkWidget
 
69
                     +----GtkMisc
 
70
                           +----GtkImage
91
71
                                 +----GimpPixmap
92
72
</pre>
93
73
</div>
100
80
<div class="refsect1" lang="en">
101
81
<a name="GimpPixmap.description"></a><h2>Description</h2>
102
82
<p>
103
 
Widget which creates a <a
104
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
105
 
><span class="type">GtkPixmap</span></a> from XPM data.
 
83
Widget which creates a <span class="type">GtkPixmap</span> from XPM data.
106
84
</p>
107
85
<p>
108
 
Use this widget instead of <a
109
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
110
 
><span class="type">GtkPixmap</span></a> if you don't want to worry about
 
86
Use this widget instead of <span class="type">GtkPixmap</span> if you don't want to worry about
111
87
the parent container's "realized" state.
112
88
</p>
113
89
<p>
114
 
Note that the drawback of the easy interface is that the actual <a
115
 
href="/usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
116
 
><span class="type">GdkPixmap</span></a>
 
90
Note that the drawback of the easy interface is that the actual <span class="type">GdkPixmap</span>
117
91
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>
118
92
and cannot be cached in memory without doing bad hacks.
119
93
</p>
134
108
<hr>
135
109
<div class="refsect2" lang="en">
136
110
<a name="gimp-pixmap-new"></a><h3>gimp_pixmap_new ()</h3>
137
 
<pre class="programlisting"><a
138
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
139
 
>GtkWidget</a>*          gimp_pixmap_new                     (<a
140
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
141
 
>gchar</a> **xpm_data);</pre>
 
111
<pre class="programlisting">GtkWidget*          gimp_pixmap_new                     (gchar **xpm_data);</pre>
142
112
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
143
113
<h3 class="title">Warning</h3>
144
114
<p><code class="literal">gimp_pixmap_new</code> is deprecated and should not be used in newly-written code.</p>
168
138
<div class="refsect2" lang="en">
169
139
<a name="gimp-pixmap-set"></a><h3>gimp_pixmap_set ()</h3>
170
140
<pre class="programlisting">void                gimp_pixmap_set                     (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
171
 
                                                         <a
172
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
173
 
>gchar</a> **xpm_data);</pre>
 
141
                                                         gchar **xpm_data);</pre>
174
142
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
175
143
<h3 class="title">Warning</h3>
176
144
<p><code class="literal">gimp_pixmap_set</code> is deprecated and should not be used in newly-written code.</p>
203
171
<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>
204
172
</p>
205
173
<p>
206
 
<a
207
 
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
208
 
><span class="type">GtkPixmap</span></a>
 
174
<span class="type">GtkPixmap</span>
209
175
</p>
210
176
</div>
211
177
</div>