Add docstring for show/hide toggle button

This commit is contained in:
Todd
2021-12-14 15:33:30 +00:00
parent 151683f603
commit f3a5e7cb98

View File

@@ -1072,6 +1072,7 @@ class GenBitmapTextToggleButton(__ToggleMixin, GenBitmapTextButton):
pass
class GenShowHideToggleButton(GenToggleButton):
""" A generic toggle bitmap button with an associated wx.Window object to show/hide on toggle. """
def __init__(self, *args, menu, **kwargs):
GenToggleButton.__init__(self, *args, **kwargs)
self.SetMenu(menu)