DtMenuButtonWidget provides the following resources. Table 7-1 shows the class, type, default, and access for these resources.
DtNcascadingCallback specifies the list of callbacks that are called before the attached submenu is displayed.
DtNcascadePixmap specifies the pixmap that is displayed as the menu glyph. If no pixmap is specified, a downward pointing arrow is displayed.
DtNsubMenuId specifies the widget ID of the pop-up menu pane to be associated with this DtMenuButton widget. You must create the pop-up menu pane with this DtMenuButton as its parent. You cannot specify this resource when the widget is created because the submenu is automatically destroyed by this widget when the resource is set.
See the DtMenuButtonWidget(3X) man page for more information.
The codes in the access column show if you can:
Set the resource at creation time (C)
Set by using XtSetValues (S)
Retrieve by using XtGetValues (G)
Name |
Class |
Type |
Default |
Access |
---|---|---|---|---|
DtNcascadingCallback |
DtCCallback |
XtCallbackList |
NULL |
C |
DtNcascadePixmap |
DtCPixmap |
Pixmap |
XmUNSPECIFIED_PIXMAP |
CSG |
DtNsubMenuId |
DtCMenuWidget |
Widget |
NULL |
SG |