SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
Classes | Variables
dialog.combo_choose Namespace Reference

Classes

class  CanvasButton
 A canvas that will act as a button. More...
class  ChooseColor
 A widget that allows users to pick from a collection of named colors or choose a custom color using the Tkinter color dialog. More...
class  ChooseColorKind
 A 3-tuple of ints between 0 and 256 representing a single color. More...

Variables

int BUTTON_HEIGHT = 15
int BUTTON_WIDTH = 15
dictionary COLOR_DICT = {'6.3_red_oxide': (191, 77, 64), 'Dark_beam': (128, 64, 48), 'Dark_column': (48, 80, 112), 'Dark_fieldbolt': (64, 80, 96), 'Dark_fieldweld': (64, 80, 97), 'Dark_hbrace': (80, 32, 96), 'Dark_material': (144, 128, 64), 'Dark_miscMem': (128, 48, 0), 'Dark_shopbolt': (112, 80, 64), 'Dark_shopweld': (112, 80, 65), ...}
string CUSTOM_COLOR = '(Custom Color)'
tuple DEFAULT_COLOR = (160.0, 96.0, 80.0)
dictionary REVERSE_COLOR_DICT = {(0, 96, 64): 'Dark_vbrace', (32, 128, 96): 'Medium_vbrace', (48, 80, 112): 'Dark_column', (64, 80, 96): 'Dark_fieldbolt', (64, 80, 97): 'Dark_fieldweld', (64, 160, 128): 'Light_vbrace', (80, 32, 96): 'Dark_hbrace', (80, 112, 144): 'Medium_column', (96, 112, 128): 'Medium_fieldbolt', (96, 112, 129): 'Medium_fieldweld', ...}

Variable Documentation

int dialog.combo_choose.BUTTON_HEIGHT = 15
int dialog.combo_choose.BUTTON_WIDTH = 15
dictionary dialog.combo_choose.COLOR_DICT = {'6.3_red_oxide': (191, 77, 64), 'Dark_beam': (128, 64, 48), 'Dark_column': (48, 80, 112), 'Dark_fieldbolt': (64, 80, 96), 'Dark_fieldweld': (64, 80, 97), 'Dark_hbrace': (80, 32, 96), 'Dark_material': (144, 128, 64), 'Dark_miscMem': (128, 48, 0), 'Dark_shopbolt': (112, 80, 64), 'Dark_shopweld': (112, 80, 65), ...}
string dialog.combo_choose.CUSTOM_COLOR = '(Custom Color)'
tuple dialog.combo_choose.DEFAULT_COLOR = (160.0, 96.0, 80.0)
dictionary dialog.combo_choose.REVERSE_COLOR_DICT = {(0, 96, 64): 'Dark_vbrace', (32, 128, 96): 'Medium_vbrace', (48, 80, 112): 'Dark_column', (64, 80, 96): 'Dark_fieldbolt', (64, 80, 97): 'Dark_fieldweld', (64, 160, 128): 'Light_vbrace', (80, 32, 96): 'Dark_hbrace', (80, 112, 144): 'Medium_column', (96, 112, 128): 'Medium_fieldbolt', (96, 112, 129): 'Medium_fieldweld', ...}