panwid
panwid copied to clipboard
How do selected rows highlight?
How do selected rows highlight? Thank you!
I don't understand the question. Are you asking how to do something using panwid? If so, what are you trying to do?
I don't understand the question. Are you asking how to do something using panwid? If so, what are you trying to do? How to highlight a line when a line is selected?
The default behavior in the examples is to highlight the focused line. This is done by setting the focus_map
attribute of the urwid.AttrMap
as described here
The default behavior in the examples is to highlight the focused line. This is done by setting the
focus_map
attribute of theurwid.AttrMap
as described here
Does the default setting of datatable class support this function? Don't you need to set other parameters? Or do you need to set a parameter?
You need to initialize the program with the correct palette entries from the DataTable
class, as shown here. There are some extra unused palette entries defined in there that you can safely ignore.