X Version 11 (Release 6.1)
XmuReshapeWidget(X3xmu)
XmuReshapeWidget --
reshape widget
Synopsis
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.
shape_style-
Specifies the new shape.
corner_width-
Specifies the width of the rounded rectangle corner.
corner_height-
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
shape_style (XmuShapeRectangle, XmuShapeOval,
XmuShapeEllipse, 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,
corner_width and corner_height
specify the size of the bounding box inside of which the corners are drawn
(see
XmuFillRoundedRectangle(X3xmu));
otherwise, corner_width and corner_height
are ignored.
The origin of the widget within its parent remains unchanged.
References
XmuCvtFunctionToCallback(X3xmu),
XmuCvtStringToBackingStore(X3xmu),
XmuCvtStringToBackingStore(X3xmu),
XmuCvtStringToShapeStyle(X3xmu),
XmuCvtStringToWidget(X3xmu)
Xlib - C Language X Interface
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004