---
name: "Gtk_Pixmap"
section: "3"
platform: "linux"
package: "libgtkmm-dev"
version: "1.0.3-1.1"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk_Pixmap"
---

# Gtk\_Pixmap(3)

## NAME - Gtk\_Pixmap

## HEADER REQUIRED

**#include \<gtk--/pixmap.h&gt;\>**

## BASE CLASSES

[Gtk\_Misc(3)](/Gtk_Misc/3.md)

## PROPERTIES

- *pixmap*

  Type: Gdk\_Pixmap\
   Get:  **get**()\
   Set:  **set**()\

-

   Pixmap to be displayed normally.\

- *mask*

  Type: Gdk\_Bitmap\
   Get:  **get**()\
   Set:  **set**()\

-

   Mask defining outlines of pixmap.\

- *pixmap\_insensitive*

  Type: 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*

  Type: bool\
   Set:  **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

```
friend  CppClassType;
typedef GtkPixmap  BaseObjectType;
typedef GtkPixmapClass  BaseClassType;
virtual void * get_parent_class();
Gtk_Widget * ref_widget_;
const _gtk_string  xpm_file_name_;
const gchar * const * data_;
void  pixmap_realize();
```

## PRIVATE MEMBER INDEX

```
static CppClassType  pixmap_class;
GtkType  get_type();
```

## PUBLIC MEMBER DESCRIPTIONS

- 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\_Widget &w, const gchar \* const \*data*);

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

- 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 DESCRIPTIONS

## PRIVATE MEMBER DESCRIPTIONS
