gdk-2.0 Reference Manual

Synopsis

public class Display : Object  {
    public    weak GLib.List            queued_events ;
    public    weak GLib.List            queued_tail ;
    public    uint[]                    button_click_time ;
    public    Window[]                  button_window ;
    public    int[]                     button_number ;
    public    uint                      double_click_time ;
    public    weak Device               core_pointer ;
    public    weak DisplayPointerHooks  pointer_hooks ;
    public    uint                      double_click_distance ;
    public    int[]                     button_x ;
    public    int[]                     button_y ;


    public    signal void               closed                    ( bool                is_error )  ;


    public    void                      add_client_message_filter ( Atom                message_type,
                                                                    FilterFunc          func,
                                                                    void**              data ) ;
    public    void                      beep                      (  ) ;
    public    void                      close                     (  ) ;
    public    void                      flush                     (  ) ;
    public    weak Device               get_core_pointer          (  ) ;
    public    static weak Display       get_default               (  ) ;
    public    uint                      get_default_cursor_size   (  ) ;
    public    weak Window               get_default_group         (  ) ;
    public    weak Event                get_event                 (  ) ;
    public    void                      get_maximal_cursor_size   ( uint                width,
                                                                    uint                height ) ;
    public    weak string               get_name                  (  ) ;
    public    void                      get_pointer               ( weak Screen         screen,
                                                                    int                 x,
                                                                    int                 y,
                                                                    ModifierType        mask ) ;
    public    weak Window               get_window_at_pointer     ( int                 win_x,
                                                                    int                 win_y ) ;
    public    void                      keyboard_ungrab           ( uint                time_ ) ;
    public    weak GLib.List            list_devices              (  ) ;
    public    static weak Display       open                      ( string              display_name ) ;
    public    static weak Display       open_default_libgtk_only  (  ) ;
    public    weak Event                peek_event                (  ) ;
    public    bool                      pointer_is_grabbed        (  ) ;
    public    void                      pointer_ungrab            ( uint                time_ ) ;
    public    void                      put_event                 ( Event               event ) ;
    public    bool                      request_selection_notification ( Atom                selection ) ;
    public    void                      set_double_click_distance ( uint                distance ) ;
    public    void                      set_double_click_time     ( uint                msec ) ;
    public    weak DisplayPointerHooks  set_pointer_hooks         ( DisplayPointerHooks new_hooks ) ;
    public    void                      store_clipboard           ( Window              clipboard_window,
                                                                    uint                time_,
                                                                    Atom[]              targets ) ;
    public    bool                      supports_clipboard_persistence (  ) ;
    public    bool                      supports_composite        (  ) ;
    public    bool                      supports_cursor_alpha     (  ) ;
    public    bool                      supports_cursor_color     (  ) ;
    public    bool                      supports_input_shapes     (  ) ;
    public    bool                      supports_selection_notification (  ) ;
    public    bool                      supports_shapes           (  ) ;
    public    void                      sync                      (  ) ;
    public    void                      warp_pointer              ( Screen              screen,
                                                                    int                 x,
                                                                    int                 y ) ;
    public    virtual weak Screen       get_default_screen        (  ) ;
    public    virtual weak string       get_display_name          (  ) ;
    public    virtual int               get_n_screens             (  ) ;
    public    virtual weak Screen       get_screen                ( int                 screen_num ) ;
}

Display Description

Details

Constructor Details

Field Details

queued_events
    public    weak GLib.List            queued_events ;		

queued_tail
    public    weak GLib.List            queued_tail ;		

button_click_time
    public    uint[]                    button_click_time ;		

button_window
    public    Window[]                  button_window ;		

button_number
    public    int[]                     button_number ;		

double_click_time
    public    uint                      double_click_time ;		

core_pointer
    public    weak Device               core_pointer ;		

pointer_hooks
    public    weak DisplayPointerHooks  pointer_hooks ;		

double_click_distance
    public    uint                      double_click_distance ;		

button_x
    public    int[]                     button_x ;		

button_y
    public    int[]                     button_y ;		

Signal Details

closed
    public    signal void               closed                    ( bool                is_error )  ;		

Property Details

Method Details

add_client_message_filter ()
    public    void                      add_client_message_filter ( Atom                message_type,
                                                                    FilterFunc          func,
                                                                    void**              data ) ;		

beep ()
    public    void                      beep                      (  ) ;		

close ()
    public    void                      close                     (  ) ;		

flush ()
    public    void                      flush                     (  ) ;		

get_core_pointer ()
    public    weak Device               get_core_pointer          (  ) ;		

get_default ()
    public    static weak Display       get_default               (  ) ;		

get_default_cursor_size ()
    public    uint                      get_default_cursor_size   (  ) ;		

get_default_group ()
    public    weak Window               get_default_group         (  ) ;		

get_event ()
    public    weak Event                get_event                 (  ) ;		

get_maximal_cursor_size ()
    public    void                      get_maximal_cursor_size   ( uint                width,
                                                                    uint                height ) ;		

get_name ()
    public    weak string               get_name                  (  ) ;		

get_pointer ()
    public    void                      get_pointer               ( weak Screen         screen,
                                                                    int                 x,
                                                                    int                 y,
                                                                    ModifierType        mask ) ;		

get_window_at_pointer ()
    public    weak Window               get_window_at_pointer     ( int                 win_x,
                                                                    int                 win_y ) ;		

keyboard_ungrab ()
    public    void                      keyboard_ungrab           ( uint                time_ ) ;		

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

open ()
    public    static weak Display       open                      ( string              display_name ) ;		

open_default_libgtk_only ()
    public    static weak Display       open_default_libgtk_only  (  ) ;		

peek_event ()
    public    weak Event                peek_event                (  ) ;		

pointer_is_grabbed ()
    public    bool                      pointer_is_grabbed        (  ) ;		

pointer_ungrab ()
    public    void                      pointer_ungrab            ( uint                time_ ) ;		

put_event ()
    public    void                      put_event                 ( Event               event ) ;		

request_selection_notification ()
    public    bool                      request_selection_notification ( Atom                selection ) ;		

set_double_click_distance ()
    public    void                      set_double_click_distance ( uint                distance ) ;		

set_double_click_time ()
    public    void                      set_double_click_time     ( uint                msec ) ;		

set_pointer_hooks ()
    public    weak DisplayPointerHooks  set_pointer_hooks         ( DisplayPointerHooks new_hooks ) ;		

store_clipboard ()
    public    void                      store_clipboard           ( Window              clipboard_window,
                                                                    uint                time_,
                                                                    Atom[]              targets ) ;		

supports_clipboard_persistence ()
    public    bool                      supports_clipboard_persistence (  ) ;		

supports_composite ()
    public    bool                      supports_composite        (  ) ;		

supports_cursor_alpha ()
    public    bool                      supports_cursor_alpha     (  ) ;		

supports_cursor_color ()
    public    bool                      supports_cursor_color     (  ) ;		

supports_input_shapes ()
    public    bool                      supports_input_shapes     (  ) ;		

supports_selection_notification ()
    public    bool                      supports_selection_notification (  ) ;		

supports_shapes ()
    public    bool                      supports_shapes           (  ) ;		

sync ()
    public    void                      sync                      (  ) ;		

warp_pointer ()
    public    void                      warp_pointer              ( Screen              screen,
                                                                    int                 x,
                                                                    int                 y ) ;		

get_default_screen ()
    public    virtual weak Screen       get_default_screen        (  ) ;		

get_display_name ()
    public    virtual weak string       get_display_name          (  ) ;		

get_n_screens ()
    public    virtual int               get_n_screens             (  ) ;		

get_screen ()
    public    virtual weak Screen       get_screen                ( int                 screen_num ) ;		


Created by Valadoc