Appendix E. Common widgets platform differences

Appendix E. Common widgets platform differences
Parts of the Common Widgets subsystem can behave differently depending on constraints of the platform (hardware, operating system, and window system). For example, Windows supports only one alignment for text in button widgets. Where possible, Common Widgets features are mapped to the closest features available on the platform.
The tables below identify the platform constraints of the Common Widgets subsystem. Blank cells indicate that the corresponding item is fully supported for the indicated platform.
Table 121. General constraints
 
Table 122. Constraints on arrow button widgets
 
Table 123. Constraints on button and label widgets
The alignment resource is ignored for CwPushButton and CwToggleButton. The label is placed by the operating system.
 
Table 124. Constraints on combo-box widgets
 
Table 125. Constraints on list widgets
The horizontal scroll bar is visible when the scrollHorizontal resource is true and the list contains an item that is wider than the width of the list.
The horizontal scroll bar is visible when the scrollHorizontal resource is true.
 
Table 126. Constraints on main window widgets
 
Table 127. Constraints on menus and menu bar
 
Table 128. Constraints on menu bar
 
Table 129. Constraints on menu
 
Table 130. Constraints on scale widget
 
Table 131. Constraints on scrolled bar widget
 
Table 132. Constraints on scrolled window widget
 
Table 133. Constraints on text widget
XmHIGHLIGHTSELECTED and XmHIGHLIGHT- SECONDARYSELECTED both appear as inverse text.
XmHIGHLIGHTSELECTED and XmHIGHLIGHT- SECONDARYSELECTED both appear as inverse text.
 
Table 134. Constraints on top-level shell and dialog shell
If MWMDECORMAXIMIZE or MWMDECORMINIMIZE is set, MWMDECORRESIZEH is added.
If a menu bar is added to a shell that has MWMDECORBORDER, Windows does not paint the shell properly.
No title bar is included unless MWMDECORTITLE is set.
A title bar is included if any one of the following is set: MWMDECORTITLE, MWMDECORMENU, MWMDECORMINIMIZE, or MWMDECORMAXIMIZE.