Provided by: libmotif-dev_2.3.4-5ubuntu0.1_amd64
NAME
XmDrawnButton — The DrawnButton widget class "XmDrawnButton" "widget class" "DrawnButton"
SYNOPSIS
#include <Xm/DrawnB.h>
DESCRIPTION
The DrawnButton widget consists of an empty widget window surrounded by a shadow border. It provides the application developer with a graphics area that can have PushButton input semantics. Callback types are defined for widget exposure and widget resize to allow the application to redraw or reposition its graphics. If the DrawnButton widget has a highlight and shadow thickness, the application should not draw in that area. To avoid drawing in the highlight and shadow area, create the graphics context with a clipping rectangle for drawing in the widget. The clipping rectangle should take into account the size of the widget's highlight thickness and shadow. DrawnButton uses the XmQTmenuSystem and XmQTspecifyRenderTable traits, and holds the XmQTactivatable trait. Classes DrawnButton inherits behavior, resources, and traits from the Core, Primitive, and XmLabel classes. The class pointer is xmDrawnButtonWidgetClass. The class name is XmDrawnButton. New Resources The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, remove the XmN or XmC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, remove the Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A). ┌───────────────────────────────────────────────────────────────────────────────────────────┐ --
RELATED
Core(3), XmCreateDrawnButton, XmLabel(3), XmPrimitive(3), XmPushButton, XmSeparator(3), XmVaCreateDrawnButton, XmVaCreateManagedDrawnButton. XmDrawnButton(3)