aboutsummaryrefslogtreecommitdiff
path: root/src/sdgtk.c
Commit message (Collapse)AuthorAgeFilesLines
* sdgtk: add and use a custom listview widgetPřemysl Eric Janouch2021-10-151-126/+18
| | | | | | | | | | | | | | | | Nothing in GTK+ appears to be suited for what are virtually infinite lists. Our workaround with GtkLabel and GtkScrolledWindow has been heavily suboptimal and needs to be replaced. Use Pango directly to handle our relatively simple needs. Upgrades: - the widget can be scrolled, - keywords are repeated for each definition line, - definition lines are now wrapped, and support 'g' and 'x' fields. Downgrades: - text can no longer be selected, so far.
* sdgtk: don't follow our own selectionPřemysl Eric Janouch2020-09-141-0/+1
| | | | When the main window is focused, we are probably the owner of it.
* Add an experimental GTK+ UIPřemysl Eric Janouch2020-09-081-0/+418
It has a potential to stay simpler than the TUI, while having a wider feature set. Not building this toy by default, it needs some time investment.