EZwgl (4.26 FreeLabels)

## 4.26 FreeLabels

A freeLabel is a label whose position is not managed by the geometry manager. FreeLabel also responds to button inputs. Button1 press-drag-release moves a FreeLabel around and double Button1 click involes its callbacks. It can also serves as a movable container widget.

FreeLabels are used to implement icons.

### Widget Info

Symbolic widget type | EZ_WIDGET_FREE_LABEL
Default class name | "FreeLabel"
Default instance name | "freeLabel"

### Resources

Config_Option | ResourceName | DefaultValue
EZ_CLASS | class | `"FreeLabel"`
EZ_NAME | name | `"freeLabel"`

EZ_X | x | `0`
EZ_Y | y | `0`
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` or `2`
EZ_BORDER_TYPE | borderType | `none` or `raised`
EZ_FOCUS_PAD | focusPad | `0`

EZ_PADX | padx | `8`
EZ_PADY | pady | `6`
EZ_IPADX | iPadx | `2`
EZ_IPADY | iPady | `2`

EZ_EXPAND | expand | `false`
EZ_PROPAGATE | propagate | `false`
EZ_TRANSIENT | transient | `false`

EZ_ORIENTATION | orientation | `horizontal`
EZ_FILL_MODE | fillMode | `fillNone`
EZ_SIDE | side | `center`

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_CURSOR | cursor | `"XC_left_ptr"`
EZ_BUBBLE_STRING | bubbleString | `null`

EZ_CALLBACK | N/A | `null null`
EZ_MOTION_CALLBACK | N/A | `null null`
EZ_DESTROY_CALLBACK | N/A | `null null`
EZ_EVENT_HANDLER | N/A | `null null`

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_SHAPE_FILE | shapeFile | `NULL`
EZ_SHAPE_PIXMAP | N/A | `NULL`

EZ_FOREGROUND | foreground | `"black"`
EZ_BACKGROUND | background | `"gray74`
EZ_BG_IMAGE_FILE | bgImageFile | `null`
EZ_BG_PIXMAP | N/A | `none`

EZ_CLIENT_PTR_DATA | N/A | `null`
EZ_CLIENT_INT_DATA | clientIntData | `0`

EZ_DND_DRAG_CURSOR | dndDragCursor | `none`
EZ_DND_BUBBLE_STRING | dndBubbleString | `null`

EZ_LABELED_ICON | labeledIcon | `0`
EZ_MOVABLE | movable | `false`
EZ_INTERIOR_BORDER | interiorBorder | `"0 none"`

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`