Widget/Label

From Gui

(Difference between revisions)
(Document Tk difference)
Line 12: Line 12:
== Events ==
== Events ==
 +
 +
== Toolkits That Differ ==
 +
 +
* [[Tk]] does not have a "for" attribute. Instead, some widgets have a "text" attribute.

Revision as of 00:47, 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

  • 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