XtResizeWidget 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]

XtResizeWidget()					      XtResizeWidget()

  XtResizeWidget - resize a child widget.

  void XtResizeWidget(w, width, height, border_width)
	 Widget w;
	 Dimension width;
	 Dimension height;
	 Dimension border_width;

  w	    Specifies the widget to be resized.	 Must be of class RectObj
	    or any subclass thereof.

  width, height, border_width
	    Specify the new widget size and border width.

  XtResizeWidget() changes the width, height, and border width	of  w  as
  specified.  It stores the new values into the widget record, and if the
  widget is realized, calls XConfigureWindow() to change the size of  the
  widget's  window.   Whether or not the widget is realized, XtResizeWid‐
  get() calls the widget's resize() method  to	notify	it  of	the  size

  If  the  specified  size is equal to the current size, XtResizeWidget()
  returns immediately without calling XConfigureWindow() or the	 resize()

  See  resize()(4)  for	 information  about  the  responsibilities of the
  resize() method.

  XtResizeWidget() should only be used by a parent widget to  change  the
  size of its children.	 If an application wishes to change the size of a
  widget, it should set the XtNwidth  and  XtNheight  (and  possibly  the
  XtNborderWidth)  resources  of  the  widget.	If a widget would like to
  resize itself, it must request a new size with  XtMakeGeometryRequest()
  or XtMakeResizeRequest().

  To  move a child widget, use XtMoveWidget().	To move and resize a wid‐
  get in the same call, use XtConfigureWidget().

See Also
  XtConfigureWidget(1), XtMakeGeometryRequest(1), XtMakeResizeRequest(1),
  XtMoveWidget(1), XtResizeWindow(1),

Xt - Geometry Management				      XtResizeWidget()

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]
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