gdk-2.0 Reference Manual

Synopsis

public class Screen : Object  {
    public    uint                      closed ;
    public    GC[]                      normal_gcs ;
    public    GC[]                      exposure_gcs ;


    public    weak void                 font_options              { get; set; } ;
    public    weak double               resolution                { get; set; } ;


    public    signal void               composited_changed        (  )  ;
    public    signal void               size_changed              (  )  ;


    public    void                      broadcast_client_message  ( Event               event ) ;
    public    weak Window               get_active_window         (  ) ;
    public    static weak Screen        get_default               (  ) ;
    public    weak Colormap             get_default_colormap      (  ) ;
    public    weak Display              get_display               (  ) ;
    public    weak Cairo.FontOptions    get_font_options          (  ) ;
    public    int                       get_height                (  ) ;
    public    int                       get_height_mm             (  ) ;
    public    int                       get_monitor_at_point      ( int                 x,
                                                                    int                 y ) ;
    public    int                       get_monitor_at_window     ( Window              window ) ;
    public    void                      get_monitor_geometry      ( int                 monitor_num,
                                                                    Rectangle           dest ) ;
    public    int                       get_n_monitors            (  ) ;
    public    int                       get_number                (  ) ;
    public    double                    get_resolution            (  ) ;
    public    weak Colormap             get_rgb_colormap          (  ) ;
    public    weak Visual               get_rgb_visual            (  ) ;
    public    weak Colormap             get_rgba_colormap         (  ) ;
    public    weak Visual               get_rgba_visual           (  ) ;
    public    weak Window               get_root_window           (  ) ;
    public    bool                      get_setting               ( string              name,
                                                                    GLib.Value          value ) ;
    public    weak Colormap             get_system_colormap       (  ) ;
    public    weak Visual               get_system_visual         (  ) ;
    public    weak GLib.List            get_toplevel_windows      (  ) ;
    public    int                       get_width                 (  ) ;
    public    int                       get_width_mm              (  ) ;
    public    weak GLib.List            get_window_stack          (  ) ;
    public    static int                height                    (  ) ;
    public    static int                height_mm                 (  ) ;
    public    bool                      is_composited             (  ) ;
    public    weak GLib.List            list_visuals              (  ) ;
    public    weak string               make_display_name         (  ) ;
    public    void                      set_default_colormap      ( Colormap            colormap ) ;
    public    void                      set_font_options          ( Cairo.FontOptions   options ) ;
    public    void                      set_resolution            ( double              dpi ) ;
    public    static int                width                     (  ) ;
    public    static int                width_mm                  (  ) ;
}

Screen Description

Details

Constructor Details

Field Details

closed
    public    uint                      closed ;		

normal_gcs
    public    GC[]                      normal_gcs ;		

exposure_gcs
    public    GC[]                      exposure_gcs ;		

Signal Details

composited_changed
    public    signal void               composited_changed        (  )  ;		

size_changed
    public    signal void               size_changed              (  )  ;		

Property Details

font_options
    public    weak void                 font_options              { get; set; } ;		

resolution
    public    weak double               resolution                { get; set; } ;		

Method Details

broadcast_client_message ()
    public    void                      broadcast_client_message  ( Event               event ) ;		

get_active_window ()
    public    weak Window               get_active_window         (  ) ;		

get_default ()
    public    static weak Screen        get_default               (  ) ;		

get_default_colormap ()
    public    weak Colormap             get_default_colormap      (  ) ;		

get_display ()
    public    weak Display              get_display               (  ) ;		

get_font_options ()
    public    weak Cairo.FontOptions    get_font_options          (  ) ;		

get_height ()
    public    int                       get_height                (  ) ;		

get_height_mm ()
    public    int                       get_height_mm             (  ) ;		

get_monitor_at_point ()
    public    int                       get_monitor_at_point      ( int                 x,
                                                                    int                 y ) ;		

get_monitor_at_window ()
    public    int                       get_monitor_at_window     ( Window              window ) ;		

get_monitor_geometry ()
    public    void                      get_monitor_geometry      ( int                 monitor_num,
                                                                    Rectangle           dest ) ;		

get_n_monitors ()
    public    int                       get_n_monitors            (  ) ;		

get_number ()
    public    int                       get_number                (  ) ;		

get_resolution ()
    public    double                    get_resolution            (  ) ;		

get_rgb_colormap ()
    public    weak Colormap             get_rgb_colormap          (  ) ;		

get_rgb_visual ()
    public    weak Visual               get_rgb_visual            (  ) ;		

get_rgba_colormap ()
    public    weak Colormap             get_rgba_colormap         (  ) ;		

get_rgba_visual ()
    public    weak Visual               get_rgba_visual           (  ) ;		

get_root_window ()
    public    weak Window               get_root_window           (  ) ;		

get_setting ()
    public    bool                      get_setting               ( string              name,
                                                                    GLib.Value          value ) ;		

get_system_colormap ()
    public    weak Colormap             get_system_colormap       (  ) ;		

get_system_visual ()
    public    weak Visual               get_system_visual         (  ) ;		

get_toplevel_windows ()
    public    weak GLib.List            get_toplevel_windows      (  ) ;		

get_width ()
    public    int                       get_width                 (  ) ;		

get_width_mm ()
    public    int                       get_width_mm              (  ) ;		

get_window_stack ()
    public    weak GLib.List            get_window_stack          (  ) ;		

height ()
    public    static int                height                    (  ) ;		

height_mm ()
    public    static int                height_mm                 (  ) ;		

is_composited ()
    public    bool                      is_composited             (  ) ;		

list_visuals ()
    public    weak GLib.List            list_visuals              (  ) ;		

make_display_name ()
    public    weak string               make_display_name         (  ) ;		

set_default_colormap ()
    public    void                      set_default_colormap      ( Colormap            colormap ) ;		

set_font_options ()
    public    void                      set_font_options          ( Cairo.FontOptions   options ) ;		

set_resolution ()
    public    void                      set_resolution            ( double              dpi ) ;		

width ()
    public    static int                width                     (  ) ;		

width_mm ()
    public    static int                width_mm                  (  ) ;		


Created by Valadoc