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

Class IntSetting

source code

    object --+    
             |    
Plugin.Setting --+
                 |
                Plugin.IntSetting

Instance Methods
 
set_value_fuzzy(self, value)
Set new value.
source code
 
check_value(self, value) source code

Inherited from Setting: __init__, 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

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)