1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkPixmap
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
a widget displaying a graphical image or icon.
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
The #GtkPixmap widget displays a graphical image or icon.
|
|
|
|
The icon is typically created using gdk_pixmap_colormap_create_from_xpm()
|
|
|
|
or gdk_pixmap_colormap_create_from_xpm_d().
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The pixels in a #GtkPixmap cannot be manipulated by the application after
|
|
|
|
creation, since under the X Window system the pixel data is stored on the
|
|
|
|
X server and so is not available to the client application.
|
|
|
|
If you want to create graphical images which can be manipulated by the
|
|
|
|
application, look at #GtkImage and #GdkRGB.
|
|
|
|
</para>
|
2004-05-11 04:32:13 +00:00
|
|
|
<para>
|
|
|
|
GtkPixmap has been deprecated since GTK+ 2.0 and should not be used
|
|
|
|
in newly written code. Use #GtkImage instead.
|
|
|
|
</para>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkPixmap ##### -->
|
|
|
|
<para>
|
|
|
|
The #GtkPixmap-struct struct contains private data only, and
|
|
|
|
should be accessed using the functions below.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_pixmap_new ##### -->
|
|
|
|
<para>
|
|
|
|
Creates a new #GtkPixmap, using the given GDK pixmap and mask.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixmap: a #GDKPixmap.
|
|
|
|
@mask: a #GDKBitmap which indicates which parts of the @pixmap should be
|
|
|
|
transparent.
|
|
|
|
@Returns: a new #GtkPixmap.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_pixmap_set ##### -->
|
|
|
|
<para>
|
|
|
|
Sets the #GdkPixmap and #GdkBitmap mask.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixmap: a #GtkPixmap.
|
|
|
|
@val: a #GdkPixmap.
|
|
|
|
@mask: a #GdkBitmap, which indicates which parts of the @pixmap should be
|
|
|
|
transparent. This can be NULL, in which case none of the @pixmap is
|
|
|
|
transparent.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_pixmap_get ##### -->
|
|
|
|
<para>
|
|
|
|
Gets the current #GdkPixmap and #GdkBitmap mask.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixmap: a #GtkPixmap.
|
|
|
|
@val: returns the current #GdkPixmap.
|
|
|
|
@mask: returns the current #GdkBitmap mask.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_pixmap_set_build_insensitive ##### -->
|
|
|
|
<para>
|
2001-12-30 22:56:05 +00:00
|
|
|
Sets wether an extra pixmap should be automatically created and used
|
|
|
|
when the pixmap is insensitive. The default value is %TRUE.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@pixmap: a #GtkPixmap.
|
Markup fixes.
* gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.
* gdk-pixbuf-io.c: Markup fixes.
* gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
2001-12-13 19:51:24 +00:00
|
|
|
@build: set to %TRUE if an extra pixmap should be automatically created to use
|
1999-08-16 18:51:52 +00:00
|
|
|
when the pixmap is insensitive.
|
|
|
|
|
|
|
|
|