From: Andreas K. <and...@ac...> - 2009-02-10 20:32:35
|
Requesting review of a new module for tklib, before committing. Sources available at ftp://ftp.tcl.tk/pub/incoming/tklib-famfam.tgz (Can't put up on SF, they limit attachments to 256 KB, this file is 2 MB compressed (6 MB uncompressed)). A module containing 2 packages wrapping around the silk and flags icon sets of famfam, to make their use in tcl apps easier. Just require the package, then load an icon/image by name. Examples of use package require famfam::silk set arrows [famfam::silk list *arrow*] set rotccw [famfam::silk get arrow_rotate_anticlockwise] package require famfam::flags set dubya [famfam::flags list w*] set wales [famfam::flags get wales] Ideas for the future - Commands to generate packages containing a subset of the icon set. - With the icons hardwired into the package code (base64 encoded). => Deployable as Tcl Module. - With the icons in a subdirectory as for the original package. - With the icons attached to the base tcl code (virtual fs). Andreas. |