No-window-labels are used to build visually complex labels for button type widgets. It is also used in the implementation of the menubar widget.
A no-window-label is visually the same as a label widget. The major difference is that a no-window-label does not have its own window and hence (1) it cannot be used as toplevel widgets and (2) it does not handle any events.
Symbolic widget type | EZ_WIDGET_NW_LABEL |
Default class name | "NWLabel" |
Default instance name | "nWLabel" |
Config_Option | ResourceName | DefaultValue |
EZ_CLASS | class | "NWLabel" |
EZ_NAME | name | "nWLabel" |
EZ_X | x | |
EZ_Y | y | |
EZ_WIDTH | width | |
EZ_HEIGHT | height | |
EZ_LOCATION | location | |
EZ_SIZE | size | |
EZ_GEOMETRY | geometry | |
EZ_WIDTH_HINT | widthHint | |
EZ_HEIGHT_HINT | heightHint | |
EZ_SIZE_HINT | sizeHint | |
EZ_BORDER_WIDTH | borderWidth | 0 |
EZ_BORDER_TYPE | borderType | none |
EZ_FOCUS_PAD | focusPad | 0 |
EZ_PADX | padx | 0 |
EZ_PADY | pady | 0 |
EZ_IPADX | iPadx | 8 |
EZ_IPADY | iPady | 6 |
EZ_FONT_ID | fontID | 3 |
EZ_FONT_NAME | fontName | "*Bold*" |
EZ_LABEL_STRING | labelString | null |
EZ_LABEL_POSITION | labelPosition | center |
EZ_JUSTIFICATION | justification | left |
EZ_TEXT_LINE_LENGTH | textLineLength | 30 |
EZ_ARROW_LABEL | arrowLabel | 0 |
EZ_PIXMAP_FILE | pixmapFile | null |
EZ_IMAGE_FILE | imageFile | null |
EZ_BITMAP_DATA | bitmapData | null |
EZ_PIXMAP_DATA | pixmapData | null |
EZ_X_PIXMAP | xPixmap | none |
EZ_LABELPIXMAP | labelPixmap | null |
EZ_RAW_RGB_DATA | rawRGBData | null |
EZ_SHAPED_WINDOW | shapedWindow | false |
EZ_FOREGROUND | foreground | "black" |
EZ_BACKGROUND | background | "gray74 |
EZ_BG_IMAGE_FILE | bgImageFile | null |
EZ_BG_PIXMAP | N/A | none |
EZ_HIGHLIGHT_FOREGROUND | highlightForeground | |
EZ_HIGHLIGHT_BACKGROUND | highlightBackground | |
EZ_CLIENT_PTR_DATA | N/A | null |
EZ_CLIENT_INT_DATA | clientIntData | 0 |