A fast-rendering, multi-selection, canvas control allowing custom drawing of a filtered, sorted list of items.
by Jeffrey Massung, Principal Software Engineer at The Broad Institute. @massung
Wanted to post about the package I just published in case any one else would find it useful:
https://pkgd.racket-lang.org/pkgn/package/canvas-list
It's a port of a GUI control I made for LispWorks back in the day. It's a subclass of canvas% used to render very large lists of items quickly with custom rendering. It has support for:
single selection and mouse hover
keyboard and mouse navigation
double-click actions and right-click context actions
alternating row state
primary key indexing (for sorting and filtering w/o losing original items/order)
New package: Racket List Canvas
A fast-rendering, multi-selection, canvas control allowing custom drawing of a filtered, sorted list of items. by Jeffrey Massung, Principal Software Engineer at The Broad Institute. @massung
https://pkgs.racket-lang.org/package/canvas-list https://github.com/massung/racket-canvas-list
from post by @massung on slack
Wanted to post about the package I just published in case any one else would find it useful: https://pkgd.racket-lang.org/pkgn/package/canvas-list It's a port of a GUI control I made for LispWorks back in the day. It's a subclass of canvas% used to render very large lists of items quickly with custom rendering. It has support for:
And here's a sample screenshot using it to view Hacker News: https://raw.githubusercontent.com/massung/racket-canvas-list/master/images/hn.png If you find it useful, awesome. And if you find a bug, please post an issue so I can fix it. :wink: