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
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course