beetlebug▾
/

ttk::spinbox bbox

Gives the box of a character of the text.

PATHNAME bbox INDEX

Description

The box is a list of 4 integers: the x and y of the top left corner in the widget, the width, and the height. The y can be below 0 before the widget is on the screen.

Returns

A list of 4 integers.

Examples

% ttk::spinbox .tsbbb
> .tsbbb insert 0 abc
> llength [.tsbbb bbox 0]
4

Errors

% ttk::spinbox .tsbbb2; .tsbbb2 bbox
wrong # args: should be ".tsbbb2 bbox index"
-errorcode NONE

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also