update_display_enabled


Description:

[ Version ( since = "0.35" ) ]
public void update_display_enabled (int id, bool enabled, bool update)

When sending monitor configuration to agent guest, if enabled is false, don't set display id, which the agent translates to disabling the display id.

If enabled is true, the monitor will be included in the next monitor update. Note: this will take effect next time the monitor configuration is sent.

If update is false, no server update will be triggered by this call, but the value will be saved and used in the next configuration update.

Parameters:

this

a MainChannel

id

display ID (if -1: set all displays)

enabled

wether display id is enabled

update

if true, update guest display state after 1sec.




2022 vala-language.org