main_update_display_enabled


Description:


[ Version ( deprecated = true , deprecated_since = "0.35" , since = "0.30" ) ]
public void main_update_display_enabled (MainChannel channel, int id, bool enabled, bool update)

Warning: main_update_display_enabled is deprecated since 0.35.

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.

Note:

use update_display_enabled instead.

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:

channel

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.


Namespace: Spice