![]() |

Public Methods | |
| virtual | ~Visual () |
| GdkVisual* | gobj () |
| const GdkVisual* | gobj () const |
| GdkVisual* | gobj_copy () |
Static Public Methods | |
| Glib::RefPtr<Visual> | get_system () |
| Get the default or system visual for the default GDK display. | |
| Glib::RefPtr<Visual> | get_best () |
| Get the visual with the most available colors for the default GDK display. | |
| Glib::RefPtr<Visual> | get_best (int depth) |
| Get the best visual with depth depth for the default GDK display. | |
| Glib::RefPtr<Visual> | get_best (VisualType visual_type) |
| Get the best visual of the given visual_type for the default GDK display. | |
| Glib::RefPtr<Visual> | get_best (int depth, VisualType visual_type) |
| Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type(). | |
| int | get_best_depth () |
| Get the best available depth for the default GDK display. | |
| VisualType | get_best_type () |
| Return the best available visual type (the one with the most colors) for the default GDK display. | |
Protected Methods | |
| Visual () | |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gdk::Visual> | wrap (GdkVisual* object, bool take_copy=false) |
|
|
|
|
|
|
|
||||||||||||
|
Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
|
|
|
Get the best visual of the given visual_type for the default GDK display.
Visuals with higher color depths are considered better. The return value should not be freed.
|
|
|
Get the best visual with depth depth for the default GDK display.
Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. The return value should not be freed.
|
|
|
Get the visual with the most available colors for the default GDK display. The return value should not be freed.
|
|
|
Get the best available depth for the default GDK display. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel.
|
|
|
Return the best available visual type (the one with the most colors) for the default GDK display.
|
|
|
Get the default or system visual for the default GDK display. This is the visual for the root window of the display. The return value should not be freed.
|
|
|
Reimplemented from Glib::ObjectBase. |
|
|
Reimplemented from Glib::ObjectBase. |
|
|
|
|
||||||||||||
|
|