Screen


Description:

[ CCode ( cname = "gnome_rr_screen_new_async" , has_construct_function = false ) ]
public async Screen (Display display) throws Error

Asynchronously creates a new Screen instance.

On both success and error, callback will be invoked. You should use Screen.end to retrieve the newly created Screen instance.

Parameters:

display

the windowing system connection used to query the display

callback

the function to call when the Screen is ready, or on error

user_data

data to pass to the callback