aboutsummaryrefslogtreecommitdiff
path: root/src/stardict-view.h
Commit message (Collapse)AuthorAgeFilesLines
* sdgtk: add and use a custom listview widgetPřemysl Eric Janouch2021-10-151-0/+34
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.