TkLua_01a - Display of predefined Tk Colors
Similar to "TkLua_01", the program "TkLua_01a" also produces a color table
- but now the table contains all predefined Tk colors. Again, it is possible
to click on every color to see the corresponding RGB definition.
Because of the large number of colors it was necessary to place the table
within a separate frame object and to associate two
scrollbar objects in order to position the (visible area of the)
table within that frame. Apart from these changes, the program is structured
like its predecessor "TkLua_01".
"TkLua_01a" should be invoked without any command line arguments
lua TkLua_01a.lua
and presents itself as shown below (be patient, please, it takes a while
for the window to come up) |