The Figure 2.13, “The Tk Palette” shows the default Tk palette in Jeszra. The items inside of this palette provide basic Graphical User Interface functionality.
The items inside the Tk-palette fall into four categories:
Containers: A container features a »-class« property. »Toplevel« and »Frame« are containers. Start every design with a »Toplevel« window.
»Menubutton« is a container for option »Menu«s.
»Menu« is a container for menu-checkbutton, menu-radiobutton, menu-command and menu-cascade.
Neither »Menu« nor »Menubutton« have a »-class« property.
Informations: These items are inert and fade into white space . They provide descriptions (either as pictures or text). »Label« and »Message« belong to this group.
Content: These items display data from within the application. They may also handle user input. »Text« and »Text tag« , »Canvas«, »Entry« and »Spinbox«, »Listbox« belong to this category.
Actors: This items accept commands and perform actions on the present data. »Checkbutton«, »Radiobutton«, »Button« belong to this category.
The »Canvas« item represents an extreme powerful window. The canvas window may be used as a container, actors (graphical objects) and information. The canvas belongs to each category!