Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ MoveWidget(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XtMoveWidget − move a widget within its parent. 

SYNOPSIS

void XtMoveWidget(w, x, y)
    Widget w;
    Position x;
    Position y;

Inputs

wSpecifies the widget to be moved; must be of class RectObj or any subclass thereof. 

x, ySpecify the new widget x and y coordinates. 

DESCRIPTION

XtMoveWidget() returns immediately if the specified geometry fields for the widget are the same as the current values.  Otherwise, XtMoveWidget() writes the new x and y values into the widget and, if the widget is realized, issues an Xlib XMoveWindow() call on the widget’s window. 

USAGE

XtMoveWidget() should only be used in widget code when a parent widget wants to move one of its children.  If an application wants to move a widget, it should set the XtNx and XtNy resources on the widget.  If a widget wants to move itself, it must request that change of its parent by calling XtMakeGeometryRequest(). 

To move and resize a child widget, use XtConfigureWidget().  To simply resize a child widget, use XtResizeWidget(). 

SEE ALSO

XtConfigureWidgetUNIX SYSTEM V/68, XtMakeGeometryRequestUNIX SYSTEM V/68, XtResizeWidgetUNIX SYSTEM V/68. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026