Library for creating a multi-document editor with a desktop GUI