Widget/Label

From Gui

(Difference between revisions)
(Document Tk difference)
(id property)
Line 3: Line 3:
== Properties ==
== Properties ==
 +
* id
* for (default to none)
* for (default to none)
* alignment (should default to system default)
* alignment (should default to system default)

Revision as of 02:48, 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)
  • alignment (should default to system default)
  • 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.
Personal tools