SBAttribute#

See also

SAMSON SDK: SBCClassAttribute

class samson.SBAttribute#

Bases: pybind11_object

This class describes a class attribute in a class proxy.

class Access(self: samson.SBAttribute.Access, value: int)#

Bases: pybind11_object

Members:

ReadOnly : Read-only

ReadWrite : Read and write

ReadWriteClear : Read, write, and clear

ReadOnly = <Access.ReadOnly: 0>#
ReadWrite = <Access.ReadWrite: 1>#
ReadWriteClear = <Access.ReadWriteClear: 2>#
property name#
property value#
class Type(self: samson.SBAttribute.Type, value: int)#

Bases: pybind11_object

Members:

Scalar : Scalar

Array : Array

Range : Range

Slider : Slider

List : List

RichText : Rich text

PushButton : Push button

ImagePath : Image path

ImageBase64 : Image encoded in base64

Array = <Type.Array: 1>#
ImageBase64 = <Type.ImageBase64: 8>#
ImagePath = <Type.ImagePath: 7>#
List = <Type.List: 4>#
PushButton = <Type.PushButton: 6>#
Range = <Type.Range: 2>#
RichText = <Type.RichText: 5>#
Scalar = <Type.Scalar: 0>#
Slider = <Type.Slider: 3>#
property name#
property value#
Array = <Type.Array: 1>#
ImageBase64 = <Type.ImageBase64: 8>#
ImagePath = <Type.ImagePath: 7>#
List = <Type.List: 4>#
PushButton = <Type.PushButton: 6>#
Range = <Type.Range: 2>#
ReadOnly = <Access.ReadOnly: 0>#
ReadWrite = <Access.ReadWrite: 1>#
ReadWriteClear = <Access.ReadWriteClear: 2>#
RichText = <Type.RichText: 5>#
Scalar = <Type.Scalar: 0>#
Slider = <Type.Slider: 3>#
property access#

Returns the access type of the attribute. A read-only property.

property description#

Returns the description of the attribute. A read-only property.

property group#

Returns the group of the attribute. A read-only property.

property name#

Returns the name of the attribute. A read-only property.

property static#

Returns whether the attribute is static. A read-only property.

property type#

Returns the type of the attribute. A read-only property.