"itemGeometry"

The read-only property delivers top-left start coordinates as well as width and height of an item in the widget.

Synopsis

shape.itemGeometry(int idx, int &x, int &y, int &width, int &height);

Parameter

Parameter Description
idx The item index
x x panel coordinate
y y panel coordinate
width Cell width
height Cell height

Description

The function delivers the top-left start coordinates as well as width and height of an item in the radiobox or checkbox widget.

The coordinates are in unscaled panel coordinates and x, y are relative to the top-left corner of the widget.

Assignment

Radiobox, Checkbox