gdk-2.0 Reference Manual

Synopsis

public class Event : Boxed  {
    public    EventType                 type ;
    public    weak EventAny             any ;
    public    weak EventExpose          expose ;
    public    weak EventNoExpose        no_expose ;
    public    weak EventVisibility      visibility ;
    public    weak EventMotion          motion ;
    public    weak EventButton          button ;
    public    weak EventScroll          scroll ;
    public    weak EventKey             key ;
    public    weak EventCrossing        crossing ;
    public    weak EventFocus           focus_change ;
    public    weak EventConfigure       configure ;
    public    weak EventProperty        property ;
    public    weak EventSelection       selection ;
    public    weak EventOwnerChange     owner_change ;
    public    weak EventProximity       proximity ;
    public    weak EventClient          client ;
    public    weak EventDND             dnd ;
    public    weak EventWindowState     window_state ;
    public    weak EventSetting         setting ;
    public    weak EventGrabBroken      grab_broken ;


    public                              Event                     ( EventType           type ) ;


    public    weak Event                copy                      (  ) ;
    public    static weak Event         get                       (  ) ;
    public    bool                      get_axis                  ( AxisUse             axis_use,
                                                                    double              value ) ;
    public    bool                      get_coords                ( double              x_win,
                                                                    double              y_win ) ;
    public    static weak Event         get_graphics_expose       ( Window              window ) ;
    public    bool                      get_root_coords           ( double              x_root,
                                                                    double              y_root ) ;
    public    weak Screen               get_screen                (  ) ;
    public    bool                      get_state                 ( ModifierType        state ) ;
    public    uint                      get_time                  (  ) ;
    public    static void               handler_set               ( EventFunc           func,
                                                                    void**              data,
                                                                    GLib.DestroyNotify  notify ) ;
    public    static weak Event         peek                      (  ) ;
    public    void                      put                       (  ) ;
    public    static void               request_motions           ( EventMotion         event ) ;
    public    bool                      send_client_message       ( NativeWindow        winid ) ;
    public    static bool               send_client_message_for_display ( Display             display,
                                                                    Event               event,
                                                                    NativeWindow        winid ) ;
    public    void                      send_clientmessage_toall  (  ) ;
    public    void                      set_screen                ( Screen              screen ) ;
}

Event Description

Details

Constructor Details

Event ()
    public                              Event                     ( EventType           type ) ;		

Field Details

type
    public    EventType                 type ;		

any
    public    weak EventAny             any ;		

expose
    public    weak EventExpose          expose ;		

no_expose
    public    weak EventNoExpose        no_expose ;		

visibility
    public    weak EventVisibility      visibility ;		

motion
    public    weak EventMotion          motion ;		

button
    public    weak EventButton          button ;		

scroll
    public    weak EventScroll          scroll ;		

key
    public    weak EventKey             key ;		

crossing
    public    weak EventCrossing        crossing ;		

focus_change
    public    weak EventFocus           focus_change ;		

configure
    public    weak EventConfigure       configure ;		

property
    public    weak EventProperty        property ;		

selection
    public    weak EventSelection       selection ;		

owner_change
    public    weak EventOwnerChange     owner_change ;		

proximity
    public    weak EventProximity       proximity ;		

client
    public    weak EventClient          client ;		

dnd
    public    weak EventDND             dnd ;		

window_state
    public    weak EventWindowState     window_state ;		

setting
    public    weak EventSetting         setting ;		

grab_broken
    public    weak EventGrabBroken      grab_broken ;		

Signal Details

Property Details

Method Details

copy ()
    public    weak Event                copy                      (  ) ;		

get ()
    public    static weak Event         get                       (  ) ;		

get_axis ()
    public    bool                      get_axis                  ( AxisUse             axis_use,
                                                                    double              value ) ;		

get_coords ()
    public    bool                      get_coords                ( double              x_win,
                                                                    double              y_win ) ;		

get_graphics_expose ()
    public    static weak Event         get_graphics_expose       ( Window              window ) ;		

get_root_coords ()
    public    bool                      get_root_coords           ( double              x_root,
                                                                    double              y_root ) ;		

get_screen ()
    public    weak Screen               get_screen                (  ) ;		

get_state ()
    public    bool                      get_state                 ( ModifierType        state ) ;		

get_time ()
    public    uint                      get_time                  (  ) ;		

handler_set ()
    public    static void               handler_set               ( EventFunc           func,
                                                                    void**              data,
                                                                    GLib.DestroyNotify  notify ) ;		

peek ()
    public    static weak Event         peek                      (  ) ;		

put ()
    public    void                      put                       (  ) ;		

request_motions ()
    public    static void               request_motions           ( EventMotion         event ) ;		

send_client_message ()
    public    bool                      send_client_message       ( NativeWindow        winid ) ;		

send_client_message_for_display ()
    public    static bool               send_client_message_for_display ( Display             display,
                                                                    Event               event,
                                                                    NativeWindow        winid ) ;		

send_clientmessage_toall ()
    public    void                      send_clientmessage_toall  (  ) ;		

set_screen ()
    public    void                      set_screen                ( Screen              screen ) ;		


Created by Valadoc