Query: xtmakeresizerequest
OS: hpux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XtMakeResizeRequest() XtMakeResizeRequest() Name XtMakeResizeRequest - request parent to change child's size. Synopsis XtGeometryResult XtMakeResizeRequest(w, width, height, width_return, height_return) Widget w; Dimension width, height; Dimension *width_return, *height_return Inputs w Specifies the child widget making the request. width, height Specify the desired widget width and height. Outputs width_return, height_return Return a compromise size when the function returns XtGeometryAlmost. May be NULL if the widget is not interested in compro- mises. Returns A response to the request: XtGeometryYes, XtGeometryNo or XtGeometryAlmost. Description XtMakeResizeRequest() is a simplified version of XtMakeGeometryRequest() that a child can use to ask its parent to change its size. It creates an XtWidgetGeometry structure, specifies width, and height, sets request_mode to (CWWidth CWHeight), and passes it to XtMakeGeome- tryRequest(). Note that the geometry manager is free to modify any of the other window attributes (position or stacking order) to satisfy the resize request. The return values are as for XtMakeGeometryRequest(). If the return value is XtGeometryAlmost, width_return and height_return contain a compromise width and height. If these are acceptable, the widget should immediately make another XtMakeResizeRequest() and request that the compromise width and height be applied. See XtMakeGeometryRequest() for more information. Usage XtMakeResizeRequest() should only be used in widget code by widgets which would like to change their own size. Applications that want to set a widget size should use XtSetValues() on the XtNwidth and XtNheight resources of the widget. A widget that wants to change the size of one of its children should use XtResizeWidget(). See Also XtConfigureWidget(1), XtMakeGeometryRequest(1), XtMoveWidget(1), XtResizeWidget(1), geometry_manager(4). Xt - Geometry Management XtMakeResizeRequest()
Related Man Pages |
---|
xtmakeresizerequest(3xt) - redhat |
xtmakeresizerequest(3) - debian |
xtmakeresizerequest(3) - centos |
xtmakeresizerequest(3) - x11r4 |
xtmakegeometryrequest(3) - suse |
Similar Topics in the Unix Linux Community |
---|
WinSize2: V2.10 beta released 2008-09-17 |
CCMA 1.0a1 (Default branch) |
CCMA 1.0a2 (Default branch) |
CCMA 1.0a4 (Default branch) |
CCMA 1.0a8 (Default branch) |