scientific_spinbox.defaults

Defaults module.

Provides constants, dictionaries and default values to be used in the project.

Since:

2024/02/06

Authors:
get_default_interface()[source]

Returns the default backend interface.

Returns:

The default backend interface.

Return type:

BackendInterface

set_default_interface(interface)[source]

Sets the default backend interface.

Parameters:
interface : BackendInterface

The interface to be set as the default.

multiplier_symbols = {'micro': {'possibles': ['u', 'µ', 'μ'], 'preferred': 'u'}}

A dictionary of symbols that can be used to replace possible multiplier symbols e.g. greek characters with preferred characters.

Type:

dict