In this article we will see how we can get the number of rectangles are there in the children region of spin box, children region holds the combined region occupied by the spin box’s children. In order to get the children region we use childrenRegion method.
Note : Combining all the rectangles gives the actual children region
In order to do this we use rectCount method with the children region object of the spin box
Please Login to comment...