- public void activate (uint32 timestamp)
Asks the window manager to make this
the active window.
- public void activate_transient (uint32 timestamp)
If this has transients, activates
the most likely transient instead of the window itself.
- public void close (uint32 timestamp)
Closes this.
- public WindowActions get_actions ()
Gets the actions that can be done for this
.
- public unowned Application get_application ()
- public unowned ClassGroup get_class_group ()
- public unowned string get_class_group_name ()
- public unowned string get_class_instance_name ()
- public void get_client_window_geometry (out int xp, out int yp, out int widthp, out int heightp)
Gets the size and position of this,
as last received in a ConfigureNotify event (i.e. this call does not round-trip to the server, just gets the last size we were
notified of).
- public void get_geometry (out int xp, out int yp, out int widthp, out int heightp)
Gets the size and position of this,
including decorations.
- public ulong get_group_leader ()
Gets the group leader of the group of windows to which
this belongs.
- public unowned Pixbuf get_icon ()
Gets the icon to be used for this.
- public bool get_icon_is_fallback ()
Gets whether a default fallback icon is used for
this (because none was set on this).
- public unowned string get_icon_name ()
Gets the icon name of this, as it
should be displayed for an icon (minimized state).
- public unowned Pixbuf get_mini_icon ()
Gets the mini-icon to be used for this
.
- public unowned string get_name ()
Gets the name of this, as it should
be displayed in a pager or tasklist.
- public int get_pid ()
Gets the process ID of this.
- public unowned string get_role ()
Gets the role for this.
- public unowned Screen get_screen ()
- public unowned string get_session_id ()
Gets the session ID for this in
Latin-1 encoding.
- public unowned string get_session_id_utf8 ()
Gets the session ID for this in
UTF-8 encoding.
- public int get_sort_order ()
Gets the sort order of this, used
for ordering of this in Selector and
Tasklist.
- public WindowState get_state ()
Gets the state of this.
- public unowned Window get_transient ()
Gets the Window for which
this is transient.
- public WindowType get_window_type ()
Gets the semantic type of this.
- public unowned Workspace get_workspace ()
Gets the current workspace this is
on.
- public ulong get_xid ()
Gets the X window ID of this.
- public bool has_icon_name ()
Checks whether or not this has an
icon name.
- public bool has_name ()
Checks whether or not this has a
name.
- public bool is_above ()
Gets whether this is above other
windows.
- public bool is_active ()
Gets whether this is the active
window on its Screen.
- public bool is_below ()
Gets whether this is below other
windows.
- public bool is_fullscreen ()
Gets whether this is fullscreen.
- public bool is_in_viewport (Workspace workspace)
Gets true
if this
appears in the current viewport of workspace
.
- public bool is_maximized ()
Gets whether this is maximized.
- public bool is_maximized_horizontally ()
Gets whether this is maximized
horizontally.
- public bool is_maximized_vertically ()
Gets whether this is maximized
vertically.
- public bool is_minimized ()
Gets whether this is minimized.
- public bool is_most_recently_activated ()
Gets whether this is the most
recently activated window on its Screen.
- public bool is_on_workspace (Workspace workspace)
Gets whether this appears on
workspace
.
- public bool is_pinned ()
Gets whether this is on all
workspace.
- public bool is_shaded ()
Gets whether this is shaded.
- public bool is_skip_pager ()
Gets whether this is included on
pagers.
- public bool is_skip_tasklist ()
Gets whether this is included on
tasklists.
- public bool is_sticky ()
Gets whether this is sticky.
- public bool is_visible_on_workspace (Workspace workspace)
Like
is_on_workspace, but also checks that the window is in a visible state (i.e. not minimized or shaded).
- public void keyboard_move ()
Asks the window manager to start moving
this via the keyboard.
- public void keyboard_size ()
Asks the window manager to start resizing
this via the keyboard.
- public void make_above ()
Asks the window manager to put this
on top of most windows (this will not be on top of focused fullscreen windows, of other windows
with this setting and of dock windows).
- public void make_below ()
Asks the window manager to put this
below most windows.
- public void maximize ()
Asks the window manager to maximize this
.
- public void maximize_horizontally ()
Asks the window manager to maximize horizontally
this.
- public void maximize_vertically ()
Asks the window manager to maximize vertically
this.
- public void minimize ()
Minimizes this.
- public void move_to_workspace (Workspace space)
Asks the window manager to move this
to space
.
- public bool needs_attention ()
Gets whether this needs attention.
- public bool or_transient_needs_attention ()
Gets whether this or one of its
transients needs attention.
- public void pin ()
Asks the window manager to put this
on all workspaces.
- public void set_fullscreen (bool fullscreen)
Asks the window manager to set the fullscreen state of
this according to fullscreen
.
- public void set_geometry (WindowGravity gravity, WindowMoveResizeMask geometry_mask, int x, int y, int width, int height)
Sets the size and position of this.
- public void set_icon_geometry (int x, int y, int width, int height)
Sets the icon geometry for this.
- public void set_skip_pager (bool skip)
Asks the window manager to make this
included or not included on pagers.
- public void set_skip_tasklist (bool skip)
Asks the window manager to make this
included or not included on tasklists.
- public void set_sort_order (int order)
Sets the sort order of this.
- public void set_window_type (WindowType wintype)
Sets the semantic type of this to
wintype
.
- public void shade ()
Asks the window manager to shade this
.
- public void stick ()
Asks the window manager to keep the this
's position fixed on the screen, even when the workspace or viewport scrolls.
- public bool transient_is_most_recently_activated ()
Gets whether one of the transients of this
is the most recently activated window.
- public void unmake_above ()
Asks the window manager to not put this
on top of most windows, and to put it again in the stack with other windows.
- public void unmake_below ()
Asks the window manager to not put this
below most windows, and to put it again in the stack with other windows.
- public void unmaximize ()
Asks the window manager to unmaximize this
.
- public void unmaximize_horizontally ()
Asks the window manager to unmaximize horizontally
this.
- public void unmaximize_vertically ()
Asks the window manager to unmaximize vertically
this.
- public void unminimize (uint32 timestamp)
Unminimizes this by activating it or
one of its transients.
- public void unpin ()
Asks the window manager to put this
only in the currently active workspace, if this was previously pinned.
- public void unshade ()
Asks the window manager to unshade this
.
- public void unstick ()
Asks the window manager to not have this
's position fixed on the screen when the workspace or viewport scrolls.