|
Public Methods |
virtual | ~Screen () |
GdkScreen* | gobj () |
const GdkScreen* | gobj () const |
GdkScreen* | gobj_copy () |
Glib::RefPtr<Colormap> | get_default_colormap () |
| Gets the default colormap for screen .
|
Glib::RefPtr<const Colormap> | get_default_colormap () const |
| Gets the default colormap for screen .
|
void | set_default_colormap (const Glib::RefPtr<const Colormap>& colormap) |
| Sets the default colormap for screen .
|
Glib::RefPtr<Colormap> | get_system_colormap () |
| Gets the system's default colormap for screen.
|
Glib::RefPtr<const Colormap> | get_system_colormap () const |
| Gets the system's default colormap for screen.
|
Glib::RefPtr<Visual> | get_system_visual () |
| Get the system's default visual for screen .
|
Glib::RefPtr<const Visual> | get_system_visual () const |
| Get the system's default visual for screen .
|
Glib::RefPtr<Colormap> | get_rgb_colormap () |
| Gets the preferred colormap for rendering image data on screen .
|
Glib::RefPtr<const Colormap> | get_rgb_colormap () const |
| Gets the preferred colormap for rendering image data on screen .
|
Glib::RefPtr<Visual> | get_rgb_visual () |
| Gets a "preferred visual" chosen by GdkRGB for rendering image data on screen .
|
Glib::RefPtr<const Visual> | get_rgb_visual () const |
| Gets a "preferred visual" chosen by GdkRGB for rendering image data on screen .
|
Glib::RefPtr<Window> | get_root_window () |
| Gets the root window of screen .
|
Glib::RefPtr<const Window> | get_root_window () const |
| Gets the root window of screen .
|
Glib::RefPtr<Display> | get_display () |
| Gets the display to which the screen belongs.
|
Glib::RefPtr<const Display> | get_display () const |
| Gets the display to which the screen belongs.
|
int | get_number () const |
| Gets the index of screen among the screens in the display to which it belongs.
|
int | get_width () const |
| Gets the width of screen in pixels.
|
int | get_height () const |
| Gets the height of screen in pixels.
|
int | get_width_mm () const |
| Gets the width of screen in millimeters.
|
int | get_height_mm () const |
| Returns the height of screen in millimeters.
|
Glib::ListHandle< Glib::RefPtr<
Visual > > | list_visuals () |
| Lists the available visuals for the specified screen .
|
Glib::ListHandle< Glib::RefPtr<
Window > > | get_toplevel_windows () |
| Obtains a list of all toplevel windows known to GDK on the screen screen .
|
Glib::ustring | make_display_name () |
| Determines the name to pass to Gdk::Display::open() to get a Gdk::Display with this screen as the default screen.
|
int | get_n_monitors () const |
| Returns the number of monitors being part of the virtual screen.
|
void | get_monitor_geometry (int monitor_num, Rectangle& dest) const |
| Retrieves the Gdk::Rectangle representing the size and start coordinates of the individual monitor within the the entire virtual screen.
|
int | get_monitor_at_point (int x, int y) const |
| Returns the monitor number in which the point ( x , y ) is located.
|
int | get_monitor_at_window (const Glib::RefPtr<Window>& window) const |
void | broadcast_client_message (GdkEvent* event) |
| Sends an X ClientMessage event to all toplevel windows on screen .
|
template <class ValueType> bool | get_setting (const Glib::ustring& name, ValueType& value) const |
Glib::SignalProxy0<void> | signal_size_changed () |
Static Public Methods |
Glib::RefPtr<Screen> | get_default () |
| Gets the default screen for the default display.
|
Protected Methods |
virtual void | on_size_changed () |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gdk::Screen> | wrap (GdkScreen* object, bool take_copy=false) |