move_viewport


Description:

[ CCode ( cname = "xfw_workspace_group_move_viewport" ) ]
public bool move_viewport (int x, int y) throws Error

Moves the workspace group to a new location, and possibly a new monitor.

On failure, throws (if provided) will be set to a description of the error that occurred.

Parameters:

this

an WorkspaceGroup.

x

a coordinate in the horizontal direction.

y

a coordinate in the vertical direction.

Returns:

true if moving the workspace group succeeded, false otherwise. If false, and throws is non-null , an error will be returned that must be freed using g_error_free().