basegui - combobox - dgw - drawcanvas - hyperhelp - sbuttonbar - seditor - sfilebrowser - sfinddialog - sqlview - statusbar - tablelist - tlistbox - tvmixins
dgw::dgw - Detlef Groths Tk Widgets
package require Tk 8.6
package require snit
package require tablelist
package require dgw::dgw
dgw::basegui app
dgw::combobox pathname
dgw::sbuttonbar pathname
dgw::seditor pathname
dgw::sfilebrowser pathname
dgw::statusbar pathname
dgw::tablelist pathname
dgw::tlistbox pathname
package::require dgw::dgw
The dgw::dgw package is just a wrapper package to load all the dgw widgets with one package call. The following packages are loaded via the package require dgw::dgw call.
- dgw::basegui - framework to build up Tk application, contains as well a few standalone widgets which can be used inside existing Tk applications:
- autoscroll - add scrollbars to Tk widgets which appear only when needed.
- balloon - add tooltips to Tk widgets
- cballoon - add tooltips to canvas tags
- center - center toplevel widgets
- console - embedded Tcl console for debugging
- dlabel - label widget with dynamic fontsize fitting the widget size
- labentry - composite widget of label and entry
- notebook - ttk::notebook with interactive tab management faciltities
- rotext - read only text widget
- splash - splash window with image and message faciltites
- timer - simple timer to measure execution times
- treeview - ttk::treeview widget with sorting facilities
- dgw::combobox - ttk::combobox with added dropdown list and filtering
- dgw::hyperhelp - help system with hypertext facilitites and table of contents outline
- dgw::sbuttonbar - buttonbar with round image buttons and text labels
- dgw::seditor - extended text editor widget with toolbar and syntax hilighting
- dgw::sfinddialog - find and search dialog for instance for text widgets
- dgw::sfilebrowser - snit file browser widget
- dgw::sqlview - SQLite database browser widget
- dgw::statusbar - statusbar widget with label for text messages and ttk::progressbar
- dgw::tablelist - tablelist widget with a few icons and implemention of icon changes if tree nodes are opened
- dgw::tlistbox - listbox widget based on tablelist with wrap facilities for multiline text and filtering
- dgw::tvmixins - treeview widget adaptors usable as mixins for the ttk::treeview widget.
Installation is easy you can easily install and use this dgw package if you have a working install of:
For installation you copy the complete dgw folder into a path of your auto_path list of Tcl or you append the auto_path list with the parent dir of the dgw directory.
The script contains embedded the documentation in Markdown format. To extract the documentation you should use the following command line:
$ tclsh dgw.tcl --markdown
This will extract the embedded manual pages in standard Markdown format. You can as well use this markdown output directly to create html pages for the documentation by using the --html flag.
$ tclsh dgw.tcl --html
This will directly create a HTML page dgw.html
which contains the formatted documentation.
Github-Markdown can be extracted by using the --man switch:
$ tclsh dgw.tcl --man
The output of this command can be used to feed a markdown processor for conversion into a html or pdf document. If you have pandoc installed for instance, you could execute the following commands:
tclsh ../dgw.tcl --man > dgw.md
pandoc -i dgw.md -s -o dgw.html
pandoc -i dgw.md -s -o dgw.tex
pdflatex dgw.tex
The dgw command was written by Detlef Groth, Schwielowsee, Germany.
Copyright (c) 2019-2020 Dr. Detlef Groth, E-mail: detlef(at)dgroth(dot)de
dgw package, version 0.5.
Copyright (c) 2019-2020 Dr. Detlef Groth, E-mail: detlef(at)dgroth(dot)de
This library is free software; you can use, modify, and redistribute it for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions.
This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.