get_neighbor


Description:

[ CCode ( cname = "xfw_workspace_get_neighbor" ) ]
public unowned Workspace? get_neighbor (Direction direction)

Fetches the workspace that resides in direction from the this, if any.

If workspace is on the edge of the layout, and direction points off the edge of the layout, will return null.

Parameters:

this

an Workspace.

direction

an Direction.

Returns:

a Workspace, owned by the parent group, or null if no workspace exists in direction.