From f3a5e7cb98c08f9d9a06a0d26611e38706020cfd Mon Sep 17 00:00:00 2001 From: Todd Date: Tue, 14 Dec 2021 15:33:30 +0000 Subject: [PATCH] Add docstring for show/hide toggle button --- wx/lib/buttons.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wx/lib/buttons.py b/wx/lib/buttons.py index 3bc6e7d6..a5302dbd 100644 --- a/wx/lib/buttons.py +++ b/wx/lib/buttons.py @@ -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)