[ Version ( since = "1.26" ) ]
public void option_set (string opt_name, Variant? variant)
If variant
is null, this clears the option if it is set.
Otherwise, variant
is set as the option. If variant
is a floating reference, it will be consumed.
Note that not all setting types support options. It is a bug setting a variant to a setting that doesn't support it. Currently, only SettingEthtool supports it.
this |
the Setting |
opt_name |
the option name to set |
variant |
the variant to set. |