get_neighbor


Description:

[ Version ( since = "2.20" ) ]
public unowned Workspace get_neighbor (MotionDirection direction)

Gets the neighbor Workspace of this in the direction direction.

Parameters:

this

a Workspace.

direction

direction in which to search the neighbor.

Returns:

the neighbor Workspace of this in the direction direction, or null if no such neighbor Workspace exists. The returned Workspace is owned by libwnck and must not be referenced or unreferenced.