3 #ifndef _GDKMM_SCREEN_H
4 #define _GDKMM_SCREEN_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
35 #include <glibmm/object.h>
36 #include <cairomm/fontoptions.h>
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47 {
class Screen_Class; }
68 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71 typedef Screen CppObjectType;
77 static CppClassType screen_class_;
85 explicit Screen(
const Glib::ConstructParams& construct_params);
97 #ifndef DOXYGEN_SHOULD_SKIP_THIS
100 static GType get_base_type() G_GNUC_CONST;
474 template <
class ValueType>
651 template <
class ValueType>
654 Glib::Value<ValueType> glibmmvalue;
655 glibmmvalue.init(Glib::Value<ValueType>::value_type());
659 value = glibmmvalue.get();
bool get_setting(const Glib::ustring &name, ValueType &value) const
Glib::RefPtr< Window > get_root_window()
Glib::PropertyProxy< Cairo::FontOptions > property_font_options()
Glib::RefPtr< Display > get_display()
double get_resolution() const
Glib::RefPtr< Gdk::Window > get_active_window()
Glib::RefPtr< Visual > get_rgba_visual()
Glib::SignalProxy0< void > signal_monitors_changed()
int get_primary_monitor() const
Glib::SignalProxy0< void > signal_composited_changed()
Glib::RefPtr< Gdk::Screen > wrap(GdkScreen *object, bool take_copy=false)
Glib::RefPtr< const Colormap > get_rgb_colormap() const
Glib::PropertyProxy< double > property_resolution()
GdkScreen * gobj()
Provides access to the underlying C GObject.
virtual void on_size_changed()
This is a default handler for the signal signal_size_changed().
static GType get_type() G_GNUC_CONST
Glib::RefPtr< Visual > get_rgb_visual()
GdkScreen * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::RefPtr< const Window > get_root_window() const
Glib::RefPtr< Colormap > get_default_colormap()
Glib::RefPtr< const Colormap > get_rgba_colormap() const
void set_resolution(double dpi)
Glib::RefPtr< const Visual > get_rgba_visual() const
void set_default_colormap(const Glib::RefPtr< const Colormap > &colormap)
Glib::PropertyProxy_ReadOnly< Cairo::FontOptions > property_font_options() const
void get_monitor_geometry(int monitor_num, Rectangle &dest) const
Glib::RefPtr< Colormap > get_system_colormap()
Glib::ListHandle< Glib::RefPtr< Window > > get_window_stack()
static Glib::RefPtr< Screen > get_default()
Glib::RefPtr< Colormap > get_rgba_colormap()
void broadcast_client_message(GdkEvent *event)
int get_monitor_height_mm(int monitor_num) const
void set_font_options(const Cairo::FontOptions &options)
Glib::ListHandle< Glib::RefPtr< Window > > get_toplevel_windows()
Glib::ListHandle< Glib::RefPtr< Visual > > list_visuals()
Glib::ustring make_display_name()
int get_monitor_at_window(const Glib::RefPtr< Window > &window) const
Glib::RefPtr< const Visual > get_rgb_visual() const
Glib::RefPtr< const Gdk::Window > get_active_window() const
int get_n_monitors() const
int get_monitor_width_mm(int monitor_num) const
Glib::ustring get_monitor_plug_name(int monitor_num) const
Glib::RefPtr< const Colormap > get_system_colormap() const
Glib::SignalProxy0< void > signal_size_changed()
Cairo::FontOptions get_font_options() const
Glib::RefPtr< const Colormap > get_default_colormap() const
const GdkScreen * gobj() const
Provides access to the underlying C GObject.
int get_height_mm() const
bool is_composited() const
Glib::RefPtr< const Visual > get_system_visual() const
Glib::RefPtr< Colormap > get_rgb_colormap()
Glib::PropertyProxy_ReadOnly< double > property_resolution() const
Glib::RefPtr< const Display > get_display() const
int get_monitor_at_point(int x, int y) const
Glib::RefPtr< Visual > get_system_visual()
typedefG_BEGIN_DECLS struct _GdkScreenClass GdkScreenClass
gboolean gdk_screen_get_setting(GdkScreen *screen, const gchar *name, GValue *value)
GtkImageIconNameData name