Required Widgets

by Mike Pinkerton (pinkerton@netscape.com)
Last updated: Sat Feb 20 00:58:37 PST 1999

Part of the XPToolkit relies on widgets to do the jobs. Some widgets can be written on top of GFX, others should be written as wrappers around OS-native UI elements. The line can be drawn on a platform by platform basis because everything hides behind the nsIWidget API and a factory to create them.

A note on native Widgets

A general requirement that we have on widgets is the ability to apply CSS styles to them from an HTML page (in addition to the styles applied from the platform-specific stylesheet). As a result, this may limit our ability to use native widgets where we normally would like to (for size/speed/true look-and-feel reasons). In the future, we also need to be able to z-order and composite widgets. While we may not meet this requirement for initial versions, we want to move into the world where we can. Again, this may limit our ability to use native widgetry.

Contents


Form Widgets

Widgets required for the layout engine. While these say Steve Dagley as the owner, he really acts more as a coordinator between the layout group and XPToolkits.

Widget

Screen Shot

Embellishments

Owner

Push Buttons

can be a default button

Steve Dagley + layout

Radio Group

 

Steve Dagley

CheckBox



tri-state

Steve Dagley

Edit Field

Can disable.
Password entry
Multiple Key Filters
Ability to validate information

Steve Dagley

Scrolling Text Field

optional horiz scrollbar.
wrapping control

Steve Dagley

Combobox/popupmenu


linked edit field
history (recent documents)
icon items instead of text

Steve Dagley

List Box

> 1 columns can be done with tree widget???

Steve Dagley

File Picker

wrapper around 2 widgets

Steve Dagley

Additional Dialog Widgets

Widget

Screen Shot

Embellishments

Owner

Scroll Bar

proportional thumb

?? + layout

Image

 

David Hyatt + layout

General Widgets

Widget

Screen Shot

Embellishments

Owner

Disclosure Triangle

left/right facing

Mike Pinkerton

Grippy Pane

custom bg colors or patterns
horizontal or vertical

Steve Dagley

Progress Bar

Determinate
Indeterminate

Eric Vaughan

Slider Control

min/max
live feedback
horiz or vertical

??

Separator

Horizontal or vertical

Chris McAfee

Static Text Label

Can disable (dim)

Chris McAfee

Tree Control

configurable as in old 5.0 Cthulu spec

David Hyatt

Tab Controls

 

Daniel Matejka

Color Picker

give access to system color picker as an option.

Chris Saari

Image Buttons (w/ menu)

show state
radio groups
dropdown menu (a la back/fwd)

Mike Pinkerton

Up/Down Arrows

linked to edit field

??

Animation/Throbber

animation described by chrome provider

David Hyatt

Über Widgets

Widget

Screenshot

Embellishments

Owner

Toolbar

configurable as in old 5.0 Cthulu spec

Mike Pinkerton

Group Boxes



HTML 4.0 does this?

Chris McAfee

Status Bar

 

 

Font Picker

Native?

Chris McAfee

Date/Time Control

do we need this???

Chris McAfee

Kudos to Simon Fraser for providing all the graphics and enumerating out all the widgets needed for Composer. Thanks!!!


maintained by Mike Pinkerton (pinkerton@netscape.com)