Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ReshpWid.Xmu.z() — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmuReshapeWidget(Xmu)    X Version 11 (Release 5)      XmuReshapeWidget(Xmu)
                                6 January 1993


 Name

    XmuReshapeWidget - reshape widget

 Syntax


    cc  . . .  -lXmu


    #include <X11/Xmu/Converters.h>

    Boolean XmuReshapeWidget(w, shape_style, corner_width, corner_height)
          Widget w;
          int shape_style;
          int corner_width, corner_height;


 Arguments


    w              Specifies the widget to reshape.

    shapestyle    Specifies the new shape.

    cornerwidth   Specifies the width of the rounded rectangle corner.

    cornerheight  Specifies the height of the rounded rectangle corner.


 Description

    The XmuReshapeWidget function reshapes the specified widget, using the
    Shape extension, to a rectangle, oval, ellipse, or rounded rectangle, as
    specified by shapestyle (XmuShapeRectangle, XmuShapeOval, XmuShapeEl-
    lipse, and XmuShapeRoundedRectangle, respectively).

    The shape is bounded by the outside edges of the rectangular extents of
    the widget.  If the shape is a rounded rectangle, cornerwidth and
    cornerheight specify the size of the bounding box inside of which the
    corners are drawn (see XmuFillRoundedRectangle(Xmu)); otherwise,
    cornerwidth and cornerheight are ignored.  The origin of the widget
    within its parent remains unchanged.

 See also

    XmuCvtFunctionToCallback(Xmu), XmuCvtStringToBackingStore(Xmu),
    XmuCvtStringToBackingStore(Xmu), XmuCvtStringToShapeStyle(Xmu),
    XmuCvtStringToWidget(Xmu)
    Xlib - C Language X Interface


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