HOME | DD

Published: 2022-06-25 02:23:44 +0000 UTC; Views: 141; Favourites: 0; Downloads: 1
Redirect to original
Description
A closer-upper view of the new RGBScript GUI. Any issues these still have are purely cosmetic, as far as I am aware of the code runs flawlessly.There is nothing remarkable about these windows, were it not for the fact that they are created dynamically based on just a few lists, the entries of which look as follows:
1. Main window
* Frames:
'frame_root: root: : 0.0',
...
'frame_field: frame_root: Field settings: 1.0',
'frame_field_widgets: frame_field: : 1.0',
* Frame weights (an utterly vague institution of Tkinter's grid complex):
'root_row1': 'frame_root: r: 1: 1',
* Widgets:
'fieldnum': 'frame_field_widgets; v; en; Fields:; i; 0',
'fieldheight': 'frame_field_widgets; v; en; Field height:; i; 0',
...
'bonus': 'frame_bonus; h; bt; Bonus code; ; ; 0',
2. Subwindow
* Frames:
'frame_bonuswindow: bonuswindow: : 0.0',
'frame_bwin_main: frame_bonuswindow: : 0.0',
'frame_bwin_shapes: frame_bwin_main: Shapes: 0.0',
* Frame weights:
'bwin_row0': 'frame_bonuswindow: r: 0: 1',
* Widgets:
'showmesquares': 'frame_bwin_shapes_widgets; v; cb; Squares; b; no;',
'showmerectangles': 'frame_bwin_shapes_widgets; v; cb; Rectangles; b; no;',
Etc..
It may all look a bit cryptic because of the various codes, but because of its compactness it offers great overview. All I need to do is add new entries in order to make stuff pop up on the screen.