I am trying to change the color of the borders of the button which the cursor is pointing on.
I am trying by this without success:
def render(self):
for key in self.master.get_widgets().keys():
if self.master.get_widgets()[key].is_selected():
self.master.get_widgets()[key].set_color(py_cui.RED_ON_BLACK)
else:
self.master.get_widgets()[key].set_color(py_cui.CYAN_ON_BLACK)
I kindly ask for little help here. What's wrong? If it is possibile to achieve it...
In the picture below I would the button "Show Yes No Popup" be colored in RED_ON_BLACK.
