XtMakeResizeRequest man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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 XtGeome‐
	      tryAlmost.   May be NULL if the widget is not interested in
	      compromises.

Returns
  A response to the request: XtGeometryYes, XtGeometryNo or XtGeometryAl‐
  most.

Description
  XtMakeResizeRequest()	 is  a	simplified  version  of XtMakeGeometryRe‐
  quest() 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), XtRe‐
  sizeWidget(1),
  geometry_manager(4).

Xt - Geometry Management				 XtMakeResizeRequest()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net