12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Composite and Constraint<strong>Widget</strong>sName Class Type Notes Default ValuehorizDistance Thickness int defaultDistanceresourceleft Edge XawEdgeType XawRubberresizable Boolean Boolean FALSEright Edge XawEdgeType XawRubbertop Edge XawEdgeType XawRubbervertDistance Thickness int defaultDistanceresourcebottomleftrighttopfromHorizfromVerthorizDistancevertDistanceWhat to do with this edge of the child whenthe parent is resized. This resource may beany edgeType. See Layout Semantics fordetails.Which widget this child should be placedunderneath (or to the right of). If a valueof NULL is specified then this widget will bepositioned relative to the edge of the parent.The amount of space, in pixels, between thischild and its left or upper neighbor.resizableLayout SemanticsIf this resource is False then the parentwidget will ignore all geometry request madeby this child. The parent may still resizethis child itself, however.The Form widget uses two different sets of layout semantics. One is used wheninitially laying out the children. The other is used when the Form is resized.The first layout method uses the fromVert and fromHoriz resources to place thechildren of the Form. A single pass is made through the Form widget's children inthe order that they were created. Each child is then placed in the Form widget belowor to the right of the widget specified by the fromVert and fromHoriz resources.The distance the new child is placed from its left or upper neighbor is deter- minedby the horizDistance and vertDistance resources. This implies some things abouthow the order of creation affects the possible placement of the children. The Formwidget registers a string to widget converter which does not post- pone conversionand does not cache conversion results.The second layout method is used when the Form is resized. It does not matter whatcauses this resize, and it is possi- ble for a resize to happen before the widget be-110

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!