PyQt5 – isRightToLeft() method for Check Box
When we create a check box by default indicator is at left hand side which we call as left to right direction although we can change its direction using
isRightToLeft method is used to check if the layout direction is from right to left or not, it returns False for the default layout direction.
Syntax : checkbox.isRightToLeft()
Argument : It takes no argument.
Return : It returns bool, True if layout direction is right to left else False.
Below is the implementation
Before changing direction : False After changing direction : True