"itemGeometry"
The read-only property delivers top-left start coordinates as well as width and height of an item in the list.
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 list.
The coordinates are in unscaled panel coordinates and x, y are relative to the top-left corner of the widget.
Assignment
Selection list