12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MenusName Class Type Notes Default Valuedestroy-CallbackCallback XtCallbackList NULLfont Font FontStruct XtDefaultFontfont<strong>Set</strong> Font<strong>Set</strong> XFont<strong>Set</strong> XtDefault-Font<strong>Set</strong>foreground Foreground Pixel XtDefault-Foregroundheight Height Dimension A Font height+ vertSpaceinternational International Boolean C Falsejustify Justify Justify XtjustifyLeftlabel Label String NULLleftBitmap LeftBitmap Pixmap XtUnspecifiedPixmapleftMargin leftMargin Dimension 4rightBitmap RightBitmap Pixmap XtUnspecifiedPixmaprightMargin rightMargin Dimension 4sensitive Sensitive Boolean TruevertSpace VertSpace int 25width Width Dimension A TextWidth+ marginscallbackfontfont<strong>Set</strong>foregroundjustifylabelAll callback functions on this list are called when the SimpleMenunotifies this entry that the user has selected it.The text font to use when displaying the label, when the internationalresource is false.The text font set to use when displaying the label, when the internationalresource is true.A pixel value which indexes the SimpleMenu's colormap to derivethe foreground color of the menu entry's window. This color is alsoused to render all 1's in the left and right bitmaps. Keep in mind thatthe SimpleMenu widget will force the width of all menu entries to bethe width of the longest entry.How the label is to be rendered between the left and right marginswhen the space is wider than the actual text. This resource maybe specified with the values XtJustifyLeft, XtJustifyCenter, orXtJustifyRight. When specifying the justification from a resourcefile the values left, center, or right may be used.This is a the string that will be displayed in the menu entry. The exactlocation of this string within the bounds of the menu entry iscontrolled by the leftMargin, rightMargin, vertSpace, and justifyresources.61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!