wxPython – Enable() method in wx.StaticBox
In this article we are going to learn about Enable() method associated with wx.StaticBox class of wxPython. Enable() function is simply used in order to enable or disable the box without affecting its label window, if any.
It takes a boolean ‘enable’ parameter if True enables the window else disables it.
Syntax: wx.StaticBox.Enable(Self, enable=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
Parameter Input Type Description enable bool True enable the window else disables it