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 screen.

Parameters:

screen

the Screen on which to operate

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 Screen thus has a single instance of RRScreen.