core.commands:Get

Class representing a Getter-command of a ControlGUI.

Usage

Source

core.commands:Get(
    dtype,
    getfunc,
    getargs=None,
)

Methods

Name Description
__init__() Initialize the Get command.

__init__()

Initialize the Get command.

Usage

Source

__init__(
    dtype,
    getfunc,
    getargs=None,
)

Parameters

dtype: type

Data type of the connected variable.

getfunc: callable

Getter function to obtain the value of the variable.

getargs: tuple or None = None
Optional arguments for the getter function.