Skip to content

Palette Ctrl Type

Class full path: NemAll_Python_Palette.PaletteCtrlType

Bases: IntEnum

Types of the palette controls

Attributes

ARRAYBUTTON = 26 class-attribute instance-attribute

BUTTON = 9 class-attribute instance-attribute

CANVAS = 32 class-attribute instance-attribute

CHECK = 4 class-attribute instance-attribute

COMBO = 5 class-attribute instance-attribute

COMBOCOLOR = 6 class-attribute instance-attribute

COMBODRAWINGTYPE = 19 class-attribute instance-attribute

COMBOFACESTYLE = 18 class-attribute instance-attribute

COMBOHATCH = 17 class-attribute instance-attribute

COMBOLAYER = 13 class-attribute instance-attribute

COMBOMATNAME = 14 class-attribute instance-attribute

COMBOPATTERN = 16 class-attribute instance-attribute

COMBOPEN = 7 class-attribute instance-attribute

COMBOREINFBARDIAM = 23 class-attribute instance-attribute

COMBOREINFBARGRADE = 22 class-attribute instance-attribute

COMBOREINFCONCRGRADE = 21 class-attribute instance-attribute

COMBOREINFMESH = 25 class-attribute instance-attribute

COMBOREINFMESHGROUP = 24 class-attribute instance-attribute

COMBOREINFNORM = 20 class-attribute instance-attribute

COMBOSTROKE = 8 class-attribute instance-attribute

EDIT = 3 class-attribute instance-attribute

ELLIPS = 29 class-attribute instance-attribute

GROUPBOX = 10 class-attribute instance-attribute

INFIELD = 2 class-attribute instance-attribute

LINE = 28 class-attribute instance-attribute

PICTURE = 1 class-attribute instance-attribute

PICTUREBUTTON = 15 class-attribute instance-attribute

PICTURELIST = 12 class-attribute instance-attribute

POLY = 31 class-attribute instance-attribute

RECT = 27 class-attribute instance-attribute

STATIC = 0 class-attribute instance-attribute

TEXT = 30 class-attribute instance-attribute

Functions

__getitem__(key)

get the item for a key

Parameters:

Name Type Description Default
key str | int | float

value key

required

Returns:

Type Description
PaletteCtrlType

value for the key