EZwgl (4.33 Locator)

## 4.33 Locator

### Widget Info

Symbolic widget type | EZ_WIDGET_LOCATOR
Default class name | "Locator"
Default instance name | "locator"

### Widget Interface Routines

`void EZ_GetLocatorXY(EZ_Widget *locator, float *x, float *y);`

returns the locator position.

`void EZ_SetLocatorXY(EZ_Widget *locator, float x, float y);`

set the locator.

### Screenshot

### Resources

Config_Option | ResourceName | DefaultValue
EZ_CLASS | class | `"Locator"`
EZ_NAME | name | `"locator"`

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 | `2`
EZ_BORDER_TYPE | borderType | `sunken`
EZ_FOCUS_PAD | focusPad | `2`

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

EZ_CURSOR | cursor | `"XC_left_ptr"`
EZ_BUBBLE_STRING | bubbleString | `null`

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

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

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

EZ_LOCATOR_XY | locatorXY | `0.5,0.5`

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