gtkmm: Gdk::RgbCmap Class Reference

gtkmm 2.24.5

Public Member Functions | Protected Attributes | List of all members
Gdk::RgbCmap Class Reference

## Public Member Functions
virtual | ~RgbCmap ()
| RgbCmap (const Glib::ArrayHandle< guint32 >& colors)
unsigned long | size () const
| Number of colors. More...
guint32& | operator[] (unsigned long index)
| Access the colors. More...
const guint32& | operator[] (unsigned long index) const
| Access the colors. More...
GdkRgbCmap* | gobj ()
| Provides access to the underlying C GObject. More...
const GdkRgbCmap* | gobj () const
| Provides access to the underlying C GObject. More...

## Protected Attributes
GdkRgbCmap* | gobject_

## Constructor & Destructor Documentation

## ◆ ~RgbCmap()

virtual Gdk::RgbCmap::~RgbCmap | ( |  | ) |
| virtual

## ◆ RgbCmap()

Gdk::RgbCmap::RgbCmap | ( | const Glib::ArrayHandle< guint32 > & | colors | ) |
| explicit

## Member Function Documentation

## ◆ gobj() [1/2]

GdkRgbCmap* Gdk::RgbCmap::gobj | ( |  | ) |
| inline

Provides access to the underlying C GObject.

## ◆ gobj() [2/2]

const GdkRgbCmap* Gdk::RgbCmap::gobj | ( |  | ) | const
| inline

Provides access to the underlying C GObject.

## ◆ operator[]() [1/2]

guint32& Gdk::RgbCmap::operator[] | ( | unsigned long | index | ) |

Access the colors.

## ◆ operator[]() [2/2]

const guint32& Gdk::RgbCmap::operator[] | ( | unsigned long | index | ) | const

Access the colors.

## ◆ size()

unsigned long Gdk::RgbCmap::size | ( |  | ) | const

Number of colors.

## Member Data Documentation

## ◆ gobject_

GdkRgbCmap* Gdk::RgbCmap::gobject_
| protected

The documentation for this class was generated from the following file:

- gdkmm/rgbcmap.h