output_connected


Description:

public virtual signal void output_connected (void* output)

This signal is emitted when a display device is connected to a port, or a port is hotplugged with an active output.

The latter can happen if a laptop is docked, and the dock provides a new active output.

The output value is not a Object. The returned output value can only assume to be valid during the emission of the signal (i.e. within your signal handler only), as it may change later when the screen is modified due to an event from the X server, or due to another place in the application modifying the screen and the output. Therefore, deal with changes to the output right in your signal handler, instead of keeping the output reference for an async or idle function.

Parameters:

output

the RROutput that was connected