You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
375 B

from gooey.gui.components.widgets.dropdown import Dropdown
from gooey.gui import formatters
class Counter(Dropdown):
def setValue(self, value):
self.widget.SetSelection(value)
def getWidgetValue(self):
return self.widget.GetValue()
def formatOutput(self, metadata, value):
return formatters.counter(metadata, value)