RRScreen.sync


Description:

[ CCode ( cname = "gnome_rr_screen_new" , has_construct_function = false ) ]
public RRScreen.sync (Screen screen) throws Error

Creates a unique RRScreen instance for the specified display.

Parameters:

display

the windowing system connection used to query the display data

Returns:

a unique RRScreen instance, specific to the screen, or `NULL` if this could not be created, for instance if the driver does not support Xrandr 1.2. Each Display thus has a single instance of RRScreen.