Package VMBuilder :: Package plugins :: Class Plugin :: Class ListSetting
[frames] | no frames]

Class ListSetting

source code

    object --+    
             |    
Plugin.Setting --+
                 |
                Plugin.ListSetting

Instance Methods
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
set_value_fuzzy(self, value)
Set new value.
source code
 
check_value(self, value) source code

Inherited from Setting: do_check_value, get_default, get_valid_options, get_value, set_default, set_valid_options, set_value

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from Setting: default

Properties

Inherited from object: __class__

Method Details

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

set_value_fuzzy(self, value)

source code 

Set new value.

Contrary to set_value, set_value_fuzzy will attempt to turn value into the target type. E.g. turning '10' into 10, "main,universe,multiverse" into ['main', 'universe', 'multiverse']

Overrides: Setting.set_value_fuzzy
(inherited documentation)