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

XtConfigureWidget()					   XtConfigureWidget()

Name
  XtConfigureWidget - move and/or resize widget.

Synopsis
  void XtConfigureWidget(w, x, y, width, height, border_width)
	 Widget w;
	 Position x;
	 Position y;
	 Dimension width;
	 Dimension height;
	 Dimension border_width;

Inputs
  w	    Specifies  the  widget;  must be of class RectObj or any sub‐
	    class thereof.

  x, y	    Specify the widget's new x and y coordinates.

  width, height, border_width
	    Specify the widget's new dimensions.

Description
  XtConfigureWidget() sets the size and position of a widget.  If the new
  size	and  position  are  the	 same  as the widget's current values, it
  returns immediately.	Otherwise XtConfigureWidget() writes the  new  x,
  y,  width,  height, and border_width values into instance fields of the
  object and, if the object is a widget and is realized,  calls	 XConfig‐
  ureWindow() on the widget's window.

  If  either  the  new	width or the new height is different from its old
  value, XtConfigureWidget() calls the widget's resize() method to notify
  it of the size change.

Usage
  XtConfigureWidget()  should  be  used only by a parent widget on one of
  its children widget.	If you want to set a widget size or position from
  an  application, use XtSetValues() to set the XtNx, XtNy, XtNwidth, and
  XtNheight resources.	If widget wants to change its own size	or  loca‐
  tion, it must use XtMakeGeometryRequest().

  XtResizeWidget()  and XtMoveWidget() are similar to XtConfigureWidget()
  but are simpler for the cases when you need only to resize or	 only  to
  move a widget.

See Also
  XtMakeGeometryRequest(1), XtMakeResizeRequest(1), XtMoveWidget(1),
  XtResizeWidget(1).

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