pmatos / racket-news

Repository for the Racket News Website
https://racket-news.com
11 stars 2 forks source link

New package: Racket List Canvas #57

Closed spdegabrielle closed 3 years ago

spdegabrielle commented 3 years ago

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:

image