set_value_async


Description:

public async void set_value_async (string section, string name, Variant value, int timeout_ms, Cancellable? cancellable)

Set the value of a configuration option asynchronously.

See also: set_value.

Parameters:

this

An Config

section

Section name of the configuration option.

name

Name of the configure option.

value

A Variant that holds the value. If the value is floating, the function takes ownership of it.

timeout_ms

The timeout in milliseconds or -1 to use the default timeout.

cancellable

A Cancellable or null.

callback

Callback function to invoke when the return value is ready.

user_data

The data to pass to callback.