oliviano
10/16/2019 - 8:53 PM

TD_UI

# Dialog Menus
a = ui.messageBox('Please select:', 'Buttons:', buttons=['a', 'b', 'c'])
print(str(a))
#ui.messageBox('Results', 'You seleacted item: ' + str(a))


# Select Container expression:
for UI containers page A,B,C,D, we use the output chop of a radio UI , the value (int) is used to as the index of a list.
['pageA', 'pageB', 'pageC', 'pageD'][int(op('nPageSelect')['Value'])]

# UI Colors:
ui.colors[ 'worksheet.bg' ] = ( 0.0 , 0.0 , 0.0 )
# Makes the UI Black :)


# Material Fonts Icon
https://cdn.materialdesignicons.com/3.3.92/
use it with str(chr(0xf791)) + str('\n') for example