spinbox identify
Gives the part of the spinbox at a point.
PATHNAME identify X Y
Description
Gives entry for the text field, buttonup or buttondown for an arrow, or an empty string for a point on no part. X and Y are in pixels from the corner of the spinbox. The parts have their places only after update.
Returns
entry, buttonup, buttondown, or an empty string.
Examples
% spinbox .id -to 5
> pack .id
> update
> .id identify 5 5
entry
Errors
% spinbox .id2; .id2 identify 1
wrong # args: should be ".id2 identify x y"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1