|
gtkmm
2.24.4
|
A Colormap is an object that contains the mapping between the color values stored in memory and the RGB values that are used to display color values. More...


Public Member Functions | |
| Colormap (Colormap&& src) noexcept | |
| Colormap& | operator= (Colormap&& src) noexcept |
| ~Colormap () noexceptoverride | |
| GdkColormap* | gobj () |
| Provides access to the underlying C GObject. More... | |
| const GdkColormap* | gobj () const |
| Provides access to the underlying C GObject. More... | |
| GdkColormap* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
| int | alloc_colors (ArrayHandle_Color& colors, int ncolors, bool writeable, bool best_match, Glib::ArrayHandle< bool >& success) |
| void | free_colors (Color& colors, int ncolors) |
| bool | alloc_color (Color& color, bool writeable=false, bool best_match=true) |
| Allocates a single color from a colormap. More... | |
| void | free_color (Color& color) |
| void | query_color (gulong pixel, Color& result) |
| Locates the RGB color in colormap corresponding to the given hardware pixel pixel. More... | |
| Glib::RefPtr< Visual > | get_visual () |
| Returns the visual for which a given colormap was created. More... | |
| Glib::RefPtr< const Visual > | get_visual () const |
| Returns the visual for which a given colormap was created. More... | |
| Glib::RefPtr< Screen > | get_screen () |
| Gets the screen for which this colormap was created. More... | |
| Glib::RefPtr< const Screen > | get_screen () const |
| Gets the screen for which this colormap was created. More... | |
Public Member Functions inherited from Glib::Object | |
| Object (const Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| Object (Object &&src) noexcept | |
| Object & | operator= (Object &&src) noexcept |
| void * | get_data (const QueryQuark &key) |
| void | set_data (const Quark &key, void *data) |
| void | set_data (const Quark &key, void *data, DestroyNotify notify) |
| void | remove_data (const QueryQuark &quark) |
| void * | steal_data (const QueryQuark &quark) |
| Glib::RefPtr< Glib::Object > | |