Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
SWT Widget Style Bits
Revision as of 11:34, 21 February 2008 by Eclipse-bugs.rizzoweb.com (Talk | contribs) (New page: All SWT Widgets take as a constructor argument a set of style bits that control various aspects of their behavior and appearance. The set of possible style bits are defined in the clas...)
All SWT Widgets take as a constructor argument a set of style bits that control various aspects of their behavior and appearance. The set of possible style bits are defined in the class org.eclipse.swt.SWT, but only a small subset applies to each Widget. The table below describes the bits that are applicable to each kind of Widget.
Widget class | Style Bit | Description |
---|---|---|
org.eclipse.swt.widgets.Button | ARROW | |
CHECK | ||
PUSH | ||
RADIO | ||
TOGGLE | ||
FLAT | ||
UP | ||
DOWN | ||
LEFT | ||
RIGHT | ||
CENTER | ||
org.eclipse.swt.widgets.Combo | DROP_DOWN | |
READ_ONLY | ||
SIMPLE |