Common Lisp bindings for the Tk GUI toolkit
|
1 年之前 | |
---|---|---|
src | 1 年之前 | |
themes | 1 年之前 | |
Changelog | 1 年之前 | |
NEWS.org | 1 年之前 | |
README.org | 1 年之前 | |
README.txt | 1 年之前 | |
TODO.org | 5 年之前 | |
nodgui.asd | 1 年之前 |
"No Drama GUI"
Common Lisp bindings for the Tk GUI toolkit.
Version 0.4.0
broke the user API, see
here for more information about how your code is affected and how to fix it.
nodgui supports loading custom ttk themes and ships the "yaru" theme from the ttkthemes collection.
To use a built-in theme other than the "default" one, do:
(with-nodgui (:theme "yaru")
(code here))
or use (setf *default-theme* "yaru")
.
You can see how they look with the demos:
CL-USER> (nodgui.demo:demo :theme "yaru")
You can load any .tcl file describing a theme:
(nodgui:eval-tcl-file "path/to/another/theme.tcl") (nodgui:use-theme "theme")
See also *themes-directory*
.
This currently doesn't work with a few themes using SVG images, but it might be fixed with the release of an upcoming Tcl/Tk version.
All of the above libraries are available on quicklisp.
# apt-get install tk
# apt-get install tklib
# apt-get install libtk-img
(ql:quickload "nodgui")
(nodgui.demo:demo)
please follow this link for documentation and news.
This software is Copyright (c) 2003-2010 Peter Herth Portions Copyright (c) 2005-2010 Thomas F. Burdick Portions Copyright (c) 2006-2010 Cadence Design Systems Portions Copyright (c) 2010 Daniel Herring Portions Copyright © cage
The authors grant you the rights to distribute and use this software as governed by the terms of the Lisp Lesser GNU Public License (http://opensource.franz.com/preamble.html), known as the LLGPL.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The themes definitions found in the themes/
subdirectory are
distributed with many different license, please carefully check the file
~LICENSE.org~ in each theme's subdirectory (e.g /themes/yaru/LICENSE) for more information.
My (cage) deep thanks to Tim Holliefield , for all the suggestions and help about implementing the widgets styles management.