The Full Wiki

More info on Panel (computer software)

Panel (computer software): Wikis

Advertisements

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

From Wikipedia, the free encyclopedia

In graphical computer software a panel is :

Panels in Widget Toolkits

Panels in Widget toolkits often have no specific graphic characteristics, but are mainly used to group children widgets together. They allow to have a better control on the layout of the widgets.

For example, in this XUL definition, two horizontal hbox panels are enclosed in a vertical vbox panel, alongside with two buttons. This allows to be sure that the label and the textboxes for the Login and the Password fields are correctly aligned.

<vbox>
  <hbox>
    <label control="login" value="Login:"/>
    <textbox id="wikipedia_login"/>
  </hbox>
  <hbox>
    <label control="pass" value="Password:"/>
    <textbox id="wikipedia_pass"/>
  </hbox>
  <button id="wikipedia_ok" label="OK"/>
  <button id="wikipedia_cancel" label="Cancel"/>
</vbox>

XUL Example

See also

  • Layout managers, used in Widget toolkits, are software components which have the ability to layout widgets by their relative positions without using distance units.
Advertisements

Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message