Key wrapper class.
More...
|
None | __init__ (self, str key, str desc, tuple options=None, Callable[[str], str] setter=str, Callable[[str], str] getter=str, object default=None, bool advanced=False) |
|
str | __str__ (self) |
|
bool | set_value (self, Any value) |
| Sets the value for this option.
|
|
str | get_value (self) |
| Get the value for this option.
|
|
Key wrapper class.
Definition at line 125 of file vs_conf.py.
◆ __init__()
None vs_conf.Settings.Option.__init__ |
( |
|
self, |
|
|
str |
key, |
|
|
str |
desc, |
|
|
tuple |
options = None , |
|
|
Callable[[str], str] |
setter = str , |
|
|
Callable[[str], str] |
getter = str , |
|
|
object |
default = None , |
|
|
bool |
advanced = False |
|
) |
| |
◆ __str__()
str vs_conf.Settings.Option.__str__ |
( |
|
self | ) |
|
◆ get_value()
str vs_conf.Settings.Option.get_value |
( |
|
self | ) |
|
Get the value for this option.
Returns: str: The value of this option
Definition at line 184 of file vs_conf.py.
◆ set_value()
bool vs_conf.Settings.Option.set_value |
( |
|
self, |
|
|
Any |
value |
|
) |
| |
Sets the value for this option.
Args: value (Any): The value to use to set
Returns: bool: The value was successfully set
Definition at line 166 of file vs_conf.py.
◆ advanced [1/2]
bool vs_conf.Settings.Option.advanced |
|
static |
◆ advanced [2/2]
vs_conf.Settings.Option.advanced |
◆ desc [1/2]
str vs_conf.Settings.Option.desc |
|
static |
◆ desc [2/2]
vs_conf.Settings.Option.desc |
◆ getter [1/2]
Callable vs_conf.Settings.Option.getter [[str], str] |
|
static |
◆ getter [2/2]
vs_conf.Settings.Option.getter |
◆ key [1/2]
str vs_conf.Settings.Option.key |
|
static |
◆ key [2/2]
vs_conf.Settings.Option.key |
◆ options [1/2]
tuple vs_conf.Settings.Option.options |
|
static |
◆ options [2/2]
vs_conf.Settings.Option.options |
◆ setter [1/2]
Callable vs_conf.Settings.Option.setter [[str], str] |
|
static |
◆ setter [2/2]
vs_conf.Settings.Option.setter |
◆ value [1/2]
str vs_conf.Settings.Option.value |
|
static |
◆ value [2/2]
vs_conf.Settings.Option.value |
The documentation for this class was generated from the following file: