Commit f5692d96 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Accessor for buttons, for testing

parent 90a9fa06
......@@ -62,6 +62,14 @@ class BitmapRadioBox(wx.Panel):
self.SetSizer(self.__sizer)
@property
def buttons(self):
"""Returns a list containing the :class:`.BitmapToggleButton`
instances. Used for testing.
"""
return list(self.__buttons)
def AddChoice(self, selectedBmp, unselectedBmp=None, clientData=None):
"""Add a button to this ``BitmapRadioBox``.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment