8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
461 B
Diff
21 lines
461 B
Diff
--- a/curses/curses_misc.py
|
|
+++ a/curses/curses_misc.py
|
|
@@ -358,6 +358,19 @@ class ComboBox(urwid.WidgetWrap):
|
|
self.parent = None
|
|
self.ui = None
|
|
self.row = None
|
|
+
|
|
+ @property
|
|
+ def focus(self):
|
|
+ return self._focus
|
|
+
|
|
+ @focus.setter
|
|
+ def focus(self, index):
|
|
+ self._focus = index
|
|
+
|
|
+ @focus.deleter
|
|
+ def focus(self):
|
|
+ del self._focus
|
|
+
|
|
def set_list(self,list):
|
|
self.list = list
|