From f834b6046ebd1c81fb2554aa60898772bde99ac5 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 26 Apr 2019 17:53:55 -0500 Subject: [PATCH] Added the full implementation, pending usage into an experiment --- src/widgetUtils/wxUtils.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/widgetUtils/wxUtils.py b/src/widgetUtils/wxUtils.py index d69af60..c53e9ed 100644 --- a/src/widgetUtils/wxUtils.py +++ b/src/widgetUtils/wxUtils.py @@ -198,4 +198,11 @@ class list(object): return selected def Enable(self, value): - return self.list.Enable(value) \ No newline at end of file + return self.list.Enable(value) + +class selectableList(list): + + def create_list(self, parent): + self.list = selectableBaseList(parent, -1, **self.listArguments) + for i in range(0, len(self.columns)): + self.list.InsertColumn(i, "%s" % (self.columns[i])) \ No newline at end of file