wxPython – IsChecked() function in wx.MenuBar
In this article we are going to learn about IsChecked() function associated with wx.MenuBar class of wxPython. IsChecked() function simply determines whether an item is checked. IsChecked() function returns True if the item was found and is checked, False otherwise.
IsChecked() function takes id as argument.
Syntax: wx.MenuBar.IsChecked(self, id)
Parameter Input Type Description id int The menu item identifier.
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