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>s: GripAction(Start, ThisBorderOnly): GripAction(Start, LowRightPane): GripAction(Move, UpLeftPane): GripAction(Move, ThisBorderOnly): GripAction(Move, LowRightPane)Any: GripAction(Commit)The Paned widget interprets the GripAction as taking two arguments. The firstargument may be any of the following:StartMove<strong>Set</strong>s up the Paned widget for resizing and changes the cursorof the grip. The second argument determines which panewill be resized, and can take on any of the three valuesshown above.The internal borders are drawn over the current pane locationsto animate where the borders would actually be placedif you were to move this border as shown. The second argumentmust match the second argument that was passedto the Start action, that began this process. If these argumentsare not passed, the behavior is undefined.CommitConvenience RoutinesThis argument causes the Paned widget to commit thechanges selected by the previously started action. The cursoris changed back to the grip's inactive cursor. No secondargument is needed in this case.To enable or disable a child's request for pane resizing, use XawPanedAllowResize :void XawPanedAllowResize( w, allow_resize);wallow_resizeSpecifies the child pane.Specifies whether or not resizing requests for thischild will be granted by the Paned widget.If allow_resize is True, the Paned widget allows geometry requests from the child tochange the pane's height. If allow_resize is False, the Paned widget ignores geometryrequests from the child to change the pane's height. The default state is Truebefore the Pane is realized and False after it is realized. This procedure is equivalentto changing the allowResize constraint resource for the child.To change the minimum and maximum height settings for a pane, use XawPaned<strong>Set</strong>-MinMax :void XawPaned<strong>Set</strong>MinMax( w, max);wminmaxSpecifies the child pane.Specifies the new minimum height of the child, expressed inpixels.Specifies new maximum height of the child, expressed in pixels.118

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

Saved successfully!

Ooh no, something went wrong!