Classes
class Preference-
Preference
Class for handling Preference.
Examples
# Get all settings. preferences = pynebv.preference.settings() print(preferences) # Set a setting. pynebv.preference.set('window-title', 'Window Title')Methods
def save()-
Save current preference settings.
Returns
none- Always none.
def set(key, value)-
Set a preference.
Args
key:str-
Specify setting key. Specify the key in the
xxx-yyyyformat without the--in--xxxy-yyyy, which is the option name when specifying preferences as an option. value:str-
Specify setting value.
Returns
none- Always none.
def settings()-
Get preferenec seettings.
Returns
dict[str, str]- Return all settings.