Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtmakeresizerequest(3) [hpux man page]

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()

Check Out this Related Man Page

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()
Man Page