index
gtk-- homepage



Description:
Gtk_Pixmap

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



Properties:


Public member index:


static GtkType get_type();
GtkPixmap *gtkobj();
const GtkPixmap *gtkobj()const;
static bool isA(Gtk_Object *checkcast);
virtual ~Gtk_Pixmap();
Gtk_Pixmap();
Construct an empty pixmap.

Gtk_Pixmap(const gtkmm_string &xpmfilename);
Load a pixmap form file.

Gtk_Pixmap(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.

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

void set(const gchar *const *data);
void set(const string &xpmfilename);
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.

Protected member index:


void initialize_class();
void *get_parent_class();
static void init_parent_class();
explicit Gtk_Pixmap(GtkPixmap *castitem);
virtual void realize_impl();
void load_xpm();
void unset();
Private member index:


Gtk_Pixmap(const Gtk_Pixmap &);
Gtk_Pixmap &operator =(const Gtk_Pixmap &);

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(const gchar *const *data);

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


get
void Gtk_Pixmap::get(Gdk_Pixmap &pixmap,Gdk_Bitmap &mask)const;

Get the pixmap and border mask.
works only following realization.


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.)