Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Author(s) References
A widget displaying a graphical image or icon
gtkPixmapNew(pixmap, mask = NULL, show = TRUE)
gtkPixmapSet(object, val, mask = NULL)
gtkPixmapGet(object)
gtkPixmapSetBuildInsensitive(object, build)
gtkPixmap(pixmap, mask = NULL, show = TRUE)
1 2 3 4 5 6 |
GtkPixmap implements
AtkImplementorIface and GtkBuildable
.
The GtkPixmap
widget displays a graphical image or icon.
The icon is typically created using gdkPixmapColormapCreateFromXpm
or gdkPixmapColormapCreateFromXpmD
.
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
.
GtkPixmap has been deprecated since GTK+ 2.0 and should not be used
in newly written code. Use GtkImage
instead.
GtkPixmap
WARNING: GtkPixmap
is deprecated and should not be used in newly-written code.
The GtkPixmap
struct contains private data only, and
should be accessed using the functions below.
gtkPixmap
is the equivalent of gtkPixmapNew
.
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkPixmap.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.