Widget

From Gui

(Difference between revisions)
(Container => Frame)
(Properties for all wigdets)
Line 9: Line 9:
* [[Widget/Checkbox]]
* [[Widget/Checkbox]]
* [[Widget/Listbox]]
* [[Widget/Listbox]]
 +
 +
== Properties on all Widgets ==
 +
 +
* id
 +
* padx (horizontal padding, horizontal and grid layouts only)
 +
* pady (vertical padding, vertical and grid layouts only)
 +
* x (column widget starts in, starts at 0, grid layout only)
 +
* y (row widget starts in, starts at 0, grid layout only)
 +
* spanx (number of columns widget fills, grid layout only)
 +
* spany (number of rows widget fills, grid layout only)

Revision as of 16:18, 16 June 2009

All toolkits and formats have base UI elements, here called "widgets".

List of Common Widget Types

Properties on all Widgets

  • id
  • padx (horizontal padding, horizontal and grid layouts only)
  • pady (vertical padding, vertical and grid layouts only)
  • x (column widget starts in, starts at 0, grid layout only)
  • y (row widget starts in, starts at 0, grid layout only)
  • spanx (number of columns widget fills, grid layout only)
  • spany (number of rows widget fills, grid layout only)
Personal tools