Previous Next Up Title Contents Index Top Library

14.2. RESOURCES

XmNnbItems

This resource manages the number of items displayed (buttons or fields in the pop-up).

XmNnbColumns

This resource defines the number of columns for button organization (not valid for a list).

XmNlabelType

This resource controls the type of display

- XmPIXMAP pixmap which is displayed by toggling or using the pushButton

- XmSTRING string which is displayed by toggling or using the pushButton

- XmNOTHING no comment is displayed.

XmNbuttonPix

Pixmaps table displayed for button or toggle selection.

XmNlabelString

Character string table displayed for button or toggle selection.

XmNwidthButton

Button width.

XmNheightButton

Button height

NB : if these 2 resources are not positioned, the width and height are calculated automatically on the longest character string.

XmNpopup

This resource manages the appearance of the widget

- XmBUTTON_PACK Button box and buttons do not remain pressed down

- XmPOPUP Pop-up List

- XmBUTTON Button box and scrollwindow

- XmTOGGLE Toggle button

- XmPOPUP2 Pop-up on the mouse in the graphic window

XmNwidgetUser

Identifier widget or pop-up activated (for XmPOPUP2)

XmNfontUser

Font user

XmNmanage

Table for the display or non display of buttons

0 : not displayed

1 : displayed

XmNradioBx

Button behaviour (remaining pressed down, or one at a time)


Previous Next Up Title Contents Index Top Library