gdk-2.0 Reference Manual

Synopsis

public class Window : Drawable  {
    public                              Window                    ( Window              parent,
                                                                    WindowAttr          attributes,
                                                                    int                 attributes_mask ) ;


    public    void                      add_filter                ( FilterFunc          function,
                                                                    void**              data ) ;
    public    static weak Window        at_pointer                ( int                 win_x,
                                                                    int                 win_y ) ;
    public    void                      beep                      (  ) ;
    public    void                      begin_move_drag           ( int                 button,
                                                                    int                 root_x,
                                                                    int                 root_y,
                                                                    uint                timestamp ) ;
    public    void                      begin_paint_rect          ( Rectangle           rectangle ) ;
    public    void                      begin_paint_region        ( Region              region ) ;
    public    void                      begin_resize_drag         ( WindowEdge          edge,
                                                                    int                 button,
                                                                    int                 root_x,
                                                                    int                 root_y,
                                                                    uint                timestamp ) ;
    public    void                      clear                     (  ) ;
    public    void                      clear_area                ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    void                      clear_area_e              ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    void                      configure_finished        (  ) ;
    public    static void               constrain_size            ( Geometry            geometry,
                                                                    uint                flags,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 new_width,
                                                                    int                 new_height ) ;
    public    void                      deiconify                 (  ) ;
    public    void                      destroy                   (  ) ;
    public    void                      destroy_notify            (  ) ;
    public    void                      enable_synchronized_configure (  ) ;
    public    void                      end_paint                 (  ) ;
    public    void                      focus                     ( uint                timestamp ) ;
    public    static weak Window        foreign_new               ( NativeWindow        anid ) ;
    public    static weak Window        foreign_new_for_display   ( Display             display,
                                                                    NativeWindow        anid ) ;
    public    void                      freeze_toplevel_updates_libgtk_only (  ) ;
    public    void                      freeze_updates            (  ) ;
    public    void                      fullscreen                (  ) ;
    public    weak GLib.List            get_children              (  ) ;
    public    bool                      get_decorations           ( WMDecoration        decorations ) ;
    public    EventMask                 get_events                (  ) ;
    public    void                      get_frame_extents         ( Rectangle           rect ) ;
    public    void                      get_geometry              ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 depth ) ;
    public    weak Window               get_group                 (  ) ;
    public    void                      get_internal_paint_info   ( weak Drawable       real_drawable,
                                                                    int                 x_offset,
                                                                    int                 y_offset ) ;
    public    int                       get_origin                ( int                 x,
                                                                    int                 y ) ;
    public    weak Window               get_parent                (  ) ;
    public    weak Window               get_pointer               ( int                 x,
                                                                    int                 y,
                                                                    ModifierType        mask ) ;
    public    void                      get_position              ( int                 x,
                                                                    int                 y ) ;
    public    void                      get_root_origin           ( int                 x,
                                                                    int                 y ) ;
    public    WindowState               get_state                 (  ) ;
    public    weak Window               get_toplevel              (  ) ;
    public    static weak GLib.List     get_toplevels             (  ) ;
    public    WindowTypeHint            get_type_hint             (  ) ;
    public    weak Region               get_update_area           (  ) ;
    public    void                      get_user_data             ( void**              data ) ;
    public    WindowType                get_window_type           (  ) ;
    public    void                      hide                      (  ) ;
    public    void                      iconify                   (  ) ;
    public    void                      input_shape_combine_mask  ( Bitmap              mask,
                                                                    int                 x,
                                                                    int                 y ) ;
    public    void                      input_shape_combine_region ( Region              shape_region,
                                                                    int                 offset_x,
                                                                    int                 offset_y ) ;
    public    void                      invalidate_maybe_recurse  ( Region              region,
                                                                    GLib.Callback       child_func ) ;
    public    void                      invalidate_rect           ( Rectangle           rect,
                                                                    bool                invalidate_children ) ;
    public    void                      invalidate_region         ( Region              region,
                                                                    bool                invalidate_children ) ;
    public    bool                      is_viewable               (  ) ;
    public    bool                      is_visible                (  ) ;
    public    static weak Window        lookup                    ( NativeWindow        anid ) ;
    public    static weak Window        lookup_for_display        ( Display             display,
                                                                    NativeWindow        anid ) ;
    public    void                      lower                     (  ) ;
    public    void                      maximize                  (  ) ;
    public    void                      merge_child_input_shapes  (  ) ;
    public    void                      merge_child_shapes        (  ) ;
    public    void                      move                      ( int                 x,
                                                                    int                 y ) ;
    public    void                      move_region               ( Region              region,
                                                                    int                 dx,
                                                                    int                 dy ) ;
    public    void                      move_resize               ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    weak GLib.List            peek_children             (  ) ;
    public    static void               process_all_updates       (  ) ;
    public    void                      process_updates           ( bool                update_children ) ;
    public    void                      raise                     (  ) ;
    public    void                      register_dnd              (  ) ;
    public    void                      remove_filter             ( FilterFunc          function,
                                                                    void**              data ) ;
    public    void                      reparent                  ( Window              new_parent,
                                                                    int                 x,
                                                                    int                 y ) ;
    public    void                      resize                    ( int                 width,
                                                                    int                 height ) ;
    public    void                      scroll                    ( int                 dx,
                                                                    int                 dy ) ;
    public    void                      set_accept_focus          ( bool                accept_focus ) ;
    public    void                      set_back_pixmap           ( Pixmap              pixmap,
                                                                    bool                parent_relative ) ;
    public    void                      set_background            ( Color               color ) ;
    public    void                      set_child_input_shapes    (  ) ;
    public    void                      set_child_shapes          (  ) ;
    public    void                      set_composited            ( bool                composited ) ;
    public    void                      set_cursor                ( Cursor              cursor ) ;
    public    static void               set_debug_updates         ( bool                setting ) ;
    public    void                      set_decorations           ( WMDecoration        decorations ) ;
    public    void                      set_events                ( EventMask           event_mask ) ;
    public    void                      set_focus_on_map          ( bool                focus_on_map ) ;
    public    void                      set_functions             ( WMFunction          functions ) ;
    public    void                      set_geometry_hints        ( Geometry            geometry,
                                                                    WindowHints         geom_mask ) ;
    public    void                      set_group                 ( Window              leader ) ;
    public    void                      set_icon                  ( Window              icon_window,
                                                                    Pixmap              pixmap,
                                                                    Bitmap              mask ) ;
    public    void                      set_icon_list             ( GLib.List           pixbufs ) ;
    public    void                      set_icon_name             ( string              name ) ;
    public    void                      set_keep_above            ( bool                setting ) ;
    public    void                      set_keep_below            ( bool                setting ) ;
    public    void                      set_modal_hint            ( bool                modal ) ;
    public    void                      set_opacity               ( double              opacity ) ;
    public    void                      set_override_redirect     ( bool                override_redirect ) ;
    public    void                      set_role                  ( string              role ) ;
    public    void                      set_skip_pager_hint       ( bool                skips_pager ) ;
    public    void                      set_skip_taskbar_hint     ( bool                skips_taskbar ) ;
    public    void                      set_startup_id            ( string              startup_id ) ;
    public    bool                      set_static_gravities      ( bool                use_static ) ;
    public    void                      set_title                 ( string              title ) ;
    public    void                      set_transient_for         ( Window              parent ) ;
    public    void                      set_type_hint             ( WindowTypeHint      hint ) ;
    public    void                      set_urgency_hint          ( bool                urgent ) ;
    public    void                      set_user_data             ( void**              user_data ) ;
    public    void                      shape_combine_mask        ( Bitmap              mask,
                                                                    int                 x,
                                                                    int                 y ) ;
    public    void                      shape_combine_region      ( Region              shape_region,
                                                                    int                 offset_x,
                                                                    int                 offset_y ) ;
    public    void                      show                      (  ) ;
    public    void                      show_unraised             (  ) ;
    public    void                      stick                     (  ) ;
    public    void                      thaw_toplevel_updates_libgtk_only (  ) ;
    public    void                      thaw_updates              (  ) ;
    public    void                      unfullscreen              (  ) ;
    public    void                      unmaximize                (  ) ;
    public    void                      unstick                   (  ) ;
    public    void                      withdraw                  (  ) ;
}

Window Description

Details

Constructor Details

Window ()
    public                              Window                    ( Window              parent,
                                                                    WindowAttr          attributes,
                                                                    int                 attributes_mask ) ;		

Field Details

Signal Details

Property Details

Method Details

add_filter ()
    public    void                      add_filter                ( FilterFunc          function,
                                                                    void**              data ) ;		

at_pointer ()
    public    static weak Window        at_pointer                ( int                 win_x,
                                                                    int                 win_y ) ;		

beep ()
    public    void                      beep                      (  ) ;		

begin_move_drag ()
    public    void                      begin_move_drag           ( int                 button,
                                                                    int                 root_x,
                                                                    int                 root_y,
                                                                    uint                timestamp ) ;		

begin_paint_rect ()
    public    void                      begin_paint_rect          ( Rectangle           rectangle ) ;		

begin_paint_region ()
    public    void                      begin_paint_region        ( Region              region ) ;		

begin_resize_drag ()
    public    void                      begin_resize_drag         ( WindowEdge          edge,
                                                                    int                 button,
                                                                    int                 root_x,
                                                                    int                 root_y,
                                                                    uint                timestamp ) ;		

clear ()
    public    void                      clear                     (  ) ;		

clear_area ()
    public    void                      clear_area                ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;		

clear_area_e ()
    public    void                      clear_area_e              ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;		

configure_finished ()
    public    void                      configure_finished        (  ) ;		

constrain_size ()
    public    static void               constrain_size            ( Geometry            geometry,
                                                                    uint                flags,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 new_width,
                                                                    int                 new_height ) ;		

deiconify ()
    public    void                      deiconify                 (  ) ;		

destroy ()
    public    void                      destroy                   (  ) ;		

destroy_notify ()
    public    void                      destroy_notify            (  ) ;		

enable_synchronized_configure ()
    public    void                      enable_synchronized_configure (  ) ;		

end_paint ()
    public    void                      end_paint                 (  ) ;		

focus ()
    public    void                      focus                     ( uint                timestamp ) ;		

foreign_new ()
    public    static weak Window        foreign_new               ( NativeWindow        anid ) ;		

foreign_new_for_display ()
    public    static weak Window        foreign_new_for_display   ( Display             display,
                                                                    NativeWindow        anid ) ;		

freeze_toplevel_updates_libgtk_only ()
    public    void                      freeze_toplevel_updates_libgtk_only (  ) ;		

freeze_updates ()
    public    void                      freeze_updates            (  ) ;		

fullscreen ()
    public    void                      fullscreen                (  ) ;		

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

get_decorations ()
    public    bool                      get_decorations           ( WMDecoration        decorations ) ;		

get_events ()
    public    EventMask                 get_events                (  ) ;		

get_frame_extents ()
    public    void                      get_frame_extents         ( Rectangle           rect ) ;		

get_geometry ()
    public    void                      get_geometry              ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height,
                                                                    int                 depth ) ;		

get_group ()
    public    weak Window               get_group                 (  ) ;		

get_internal_paint_info ()
    public    void                      get_internal_paint_info   ( weak Drawable       real_drawable,
                                                                    int                 x_offset,
                                                                    int                 y_offset ) ;		

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

get_parent ()
    public    weak Window               get_parent                (  ) ;		

get_pointer ()
    public    weak Window               get_pointer               ( int                 x,
                                                                    int                 y,
                                                                    ModifierType        mask ) ;		

get_position ()
    public    void                      get_position              ( int                 x,
                                                                    int                 y ) ;		

get_root_origin ()
    public    void                      get_root_origin           ( int                 x,
                                                                    int                 y ) ;		

get_state ()
    public    WindowState               get_state                 (  ) ;		

get_toplevel ()
    public    weak Window               get_toplevel              (  ) ;		

get_toplevels ()
    public    static weak GLib.List     get_toplevels             (  ) ;		

get_type_hint ()
    public    WindowTypeHint            get_type_hint             (  ) ;		

get_update_area ()
    public    weak Region               get_update_area           (  ) ;		

get_user_data ()
    public    void                      get_user_data             ( void**              data ) ;		

get_window_type ()
    public    WindowType                get_window_type           (  ) ;		

hide ()
    public    void                      hide                      (  ) ;		

iconify ()
    public    void                      iconify                   (  ) ;		

input_shape_combine_mask ()
    public    void                      input_shape_combine_mask  ( Bitmap              mask,
                                                                    int                 x,
                                                                    int                 y ) ;		

input_shape_combine_region ()
    public    void                      input_shape_combine_region ( Region              shape_region,
                                                                    int                 offset_x,
                                                                    int                 offset_y ) ;		

invalidate_maybe_recurse ()
    public    void                      invalidate_maybe_recurse  ( Region              region,
                                                                    GLib.Callback       child_func ) ;		

invalidate_rect ()
    public    void                      invalidate_rect           ( Rectangle           rect,
                                                                    bool                invalidate_children ) ;		

invalidate_region ()
    public    void                      invalidate_region         ( Region              region,
                                                                    bool                invalidate_children ) ;		

is_viewable ()
    public    bool                      is_viewable               (  ) ;		

is_visible ()
    public    bool                      is_visible                (  ) ;		

lookup ()
    public    static weak Window        lookup                    ( NativeWindow        anid ) ;		

lookup_for_display ()
    public    static weak Window        lookup_for_display        ( Display             display,
                                                                    NativeWindow        anid ) ;		

lower ()
    public    void                      lower                     (  ) ;		

maximize ()
    public    void                      maximize                  (  ) ;		

merge_child_input_shapes ()
    public    void                      merge_child_input_shapes  (  ) ;		

merge_child_shapes ()
    public    void                      merge_child_shapes        (  ) ;		

move ()
    public    void                      move                      ( int                 x,
                                                                    int                 y ) ;		

move_region ()
    public    void                      move_region               ( Region              region,
                                                                    int                 dx,
                                                                    int                 dy ) ;		

move_resize ()
    public    void                      move_resize               ( int                 x,
                                                                    int                 y,
                                                                    int                 width,
                                                                    int                 height ) ;		

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

process_all_updates ()
    public    static void               process_all_updates       (  ) ;		

process_updates ()
    public    void                      process_updates           ( bool                update_children ) ;		

raise ()
    public    void                      raise                     (  ) ;		

register_dnd ()
    public    void                      register_dnd              (  ) ;		

remove_filter ()
    public    void                      remove_filter             ( FilterFunc          function,
                                                                    void**              data ) ;		

reparent ()
    public    void                      reparent                  ( Window              new_parent,
                                                                    int                 x,
                                                                    int                 y ) ;		

resize ()
    public    void                      resize                    ( int                 width,
                                                                    int                 height ) ;		

scroll ()
    public    void                      scroll                    ( int                 dx,
                                                                    int                 dy ) ;		

set_accept_focus ()
    public    void                      set_accept_focus          ( bool                accept_focus ) ;		

set_back_pixmap ()
    public    void                      set_back_pixmap           ( Pixmap              pixmap,
                                                                    bool                parent_relative ) ;		

set_background ()
    public    void                      set_background            ( Color               color ) ;		

set_child_input_shapes ()
    public    void                      set_child_input_shapes    (  ) ;		

set_child_shapes ()
    public    void                      set_child_shapes          (  ) ;		

set_composited ()
    public    void                      set_composited            ( bool                composited ) ;		

set_cursor ()
    public    void                      set_cursor                ( Cursor              cursor ) ;		

set_debug_updates ()
    public    static void               set_debug_updates         ( bool                setting ) ;		

set_decorations ()
    public    void                      set_decorations           ( WMDecoration        decorations ) ;		

set_events ()
    public    void                      set_events                ( EventMask           event_mask ) ;		

set_focus_on_map ()
    public    void                      set_focus_on_map          ( bool                focus_on_map ) ;		

set_functions ()
    public    void                      set_functions             ( WMFunction          functions ) ;		

set_geometry_hints ()
    public    void                      set_geometry_hints        ( Geometry            geometry,
                                                                    WindowHints         geom_mask ) ;		

set_group ()
    public    void                      set_group                 ( Window              leader ) ;		

set_icon ()
    public    void                      set_icon                  ( Window              icon_window,
                                                                    Pixmap              pixmap,
                                                                    Bitmap              mask ) ;		

set_icon_list ()
    public    void                      set_icon_list             ( GLib.List           pixbufs ) ;		

set_icon_name ()
    public    void                      set_icon_name             ( string              name ) ;		

set_keep_above ()
    public    void                      set_keep_above            ( bool                setting ) ;		

set_keep_below ()
    public    void                      set_keep_below            ( bool                setting ) ;		

set_modal_hint ()
    public    void                      set_modal_hint            ( bool                modal ) ;		

set_opacity ()
    public    void                      set_opacity               ( double              opacity ) ;		

set_override_redirect ()
    public    void                      set_override_redirect     ( bool                override_redirect ) ;		

set_role ()
    public    void                      set_role                  ( string              role ) ;		

set_skip_pager_hint ()
    public    void                      set_skip_pager_hint       ( bool                skips_pager ) ;		

set_skip_taskbar_hint ()
    public    void                      set_skip_taskbar_hint     ( bool                skips_taskbar ) ;		

set_startup_id ()
    public    void                      set_startup_id            ( string              startup_id ) ;		

set_static_gravities ()
    public    bool                      set_static_gravities      ( bool                use_static ) ;		

set_title ()
    public    void                      set_title                 ( string              title ) ;		

set_transient_for ()
    public    void                      set_transient_for         ( Window              parent ) ;		

set_type_hint ()
    public    void                      set_type_hint             ( WindowTypeHint      hint ) ;		

set_urgency_hint ()
    public    void                      set_urgency_hint          ( bool                urgent ) ;		

set_user_data ()
    public    void                      set_user_data             ( void**              user_data ) ;		

shape_combine_mask ()
    public    void                      shape_combine_mask        ( Bitmap              mask,
                                                                    int                 x,
                                                                    int                 y ) ;		

shape_combine_region ()
    public    void                      shape_combine_region      ( Region              shape_region,
                                                                    int                 offset_x,
                                                                    int                 offset_y ) ;		

show ()
    public    void                      show                      (  ) ;		

show_unraised ()
    public    void                      show_unraised             (  ) ;		

stick ()
    public    void                      stick                     (  ) ;		

thaw_toplevel_updates_libgtk_only ()
    public    void                      thaw_toplevel_updates_libgtk_only (  ) ;		

thaw_updates ()
    public    void                      thaw_updates              (  ) ;		

unfullscreen ()
    public    void                      unfullscreen              (  ) ;		

unmaximize ()
    public    void                      unmaximize                (  ) ;		

unstick ()
    public    void                      unstick                   (  ) ;		

withdraw ()
    public    void                      withdraw                  (  ) ;		


Created by Valadoc