Returns the state flags corresponding to the widget found at the position @pos in the widget hierarchy defined by @path
position to get the state for, -1 for the path head
Return: The state flags
3.14
See Implementation
Returns the state flags corresponding to the widget found at the position @pos in the widget hierarchy defined by @path