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

Name
  XtResizeWidget - resize a child widget.

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

Inputs
  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.

Description
  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
  changes.

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

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

Usage
  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),
  resize(4).

Xt - Geometry Management				      XtResizeWidget()
[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