index
gtk-- homepage



Description:
Gtk_Pixmap

#include <gtk--/pixmap.h>
Base classes: Gtk_Misc



Properties:

NameTypeGetSetDescription
pixmap Gdk_Pixmap get() set() Pixmap to be displayed normally.
mask Gdk_Bitmap get() set() Mask defining outlines of pixmap.
pixmap_insensitive Gdk_Pixmap     (Gtk 1.1) The pixmap used when the widget is in the insensitive state. This is a cache and is not directly setable.
build_insensitive bool   build_insensitive() (Gtk 1.1) Specifies that Gtk is to create a greyed out version of pixmap to use in insensitive states.


Public member index:


Gtk_Pixmap();
Construct an empty pixmap.

Gtk_Pixmap(Gtk_Widget &w,const _gtk_string &xpmfilename);
Load a pixmap form file.

Gtk_Pixmap(Gtk_Widget &w,const gchar *const *data);
Create a pixmap from data.

Gtk_Pixmap(const Gdk_Pixmap &pixmap,const Gdk_Bitmap &mask);
Create using specified pixmap and mask.

Gtk_Pixmap(GtkPixmap *castitem);
void set(const Gdk_Pixmap &pixmap,const Gdk_Bitmap &mask);
Set the pixmap and border mask.

void get(Gdk_Pixmap &pixmap,Gdk_Bitmap &mask)const;
Get the pixmap and border mask.

void set_build_insensitive(bool build);
(Gtk 1.1) Build an special pixmap for insensitive states.

GtkPixmap *gtkobj();
const GtkPixmap *gtkobj()const;
static bool isGtkPixmap(Gtk_Object *checkcast);
Protected member index:


virtual void *get_parent_class();
void pixmap_realize();
Private member index:


GtkType get_type();

Public member details:


Gtk_Pixmap
Gtk_Pixmap::Gtk_Pixmap();

Construct an empty pixmap.
Note that default constructor puts Pixmap objects to invalid state and you should not show it or add it to containers before you've set() the pixmap and mask for it.


Gtk_Pixmap
Gtk_Pixmap::Gtk_Pixmap(Gtk_Widget &w,const gchar *const *data);

Create a pixmap from data.
data must live until Pixmap is realized


set_build_insensitive
void Gtk_Pixmap::set_build_insensitive(bool build);

(Gtk 1.1) Build an special pixmap for insensitive states.
Setting this switch will cause Gtk to build a greyed out version on the specified pixmap.


Protected member details:



Private member details:



Examples:





(pages generated by PERCEPS -script.)