|
Public Methods |
virtual | ~Visual () |
GdkVisual* | gobj () |
const GdkVisual* | gobj () const |
GdkVisual* | gobj_copy () |
Glib::RefPtr<Screen> | get_screen () |
| Gets the screen to which this visual belongs.
|
Glib::RefPtr<const Screen> | get_screen () const |
| Gets the screen to which this visual belongs.
|
Static Public Methods |
Glib::RefPtr<Visual> | get_system () |
| Get the system'sdefault visual for the default GDK screen.
|
Glib::RefPtr<Visual> | get_best () |
| Get the visual with the most available colors for the default GDK screen.
|
Glib::RefPtr<Visual> | get_best (int depth) |
| Get the best visual with depth depth for the default GDK screen.
|
Glib::RefPtr<Visual> | get_best (VisualType visual_type) |
| Get the best visual of the given visual_type for the default GDK screen.
|
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 screen.
|
VisualType | get_best_type () |
| Return the best available visual type for the default GDK screen.
|
Protected Methods |
| Visual () |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gdk::Visual> | wrap (GdkVisual* object, bool take_copy=false) |