get_for_root


Description:

public static unowned Screen get_for_root (ulong root_window_id)

Gets the Screen for the root window at root_window_id, or null if no Screen exists for this root window.

This function does not work if @get was not called for the sought Screen before, and returns null.

Parameters:

root_window_id

an X window ID.

Returns:

the Screen for the root window at root_window_id, or null . The returned Screen is owned by libwnck and must not be referenced or unreferenced.