Widget/Label
From Gui
(Difference between revisions)
(id property) |
(Values for align) |
||
Line 5: | Line 5: | ||
* id | * id | ||
* for (default to none) | * for (default to none) | ||
- | * | + | * align (should default to system default) |
+ | ** left | ||
+ | ** right | ||
+ | ** center | ||
+ | ** justify | ||
* wrap (default to true) | * wrap (default to true) | ||
Revision as of 19:15, 13 June 2009
A label is a widget that displays text or an image to the user. It is often associated with another widget that it describes.
Contents |
Properties
- id
- for (default to none)
- align (should default to system default)
- left
- right
- center
- justify
- wrap (default to true)
One of
- text
- image
Events
Toolkits That Differ
- Tk does not have a "for" attribute. Instead, some widgets have a "text" attribute.