gnocl is loosely modeled after the great, easy to use Tk package. It is not a direct language binding for gtk like e.g. tcl-gtk.
License: | BSD type (Same as Tcl) |
---|---|
Homepage: | http://www.dr-baum.net/gnocl/ |
Contact: | Peter G. Baum (peter@dr-baum.net) |
All commands have the form
cmd required-arguments optional-arguments
gnocl::app "Application name" -title "App title" -content $cont
All optional arguments have sensible default values. Only the absolutely necessary options are required.
appId | default is gnocl |
---|---|
appVersion | default is current gnocl version |
namespace eval gnocl { variable appId gnoclEntryTest variable appVersion 1.0.5 } load ../src/gnocl.so # main code
Every widget command returns a widget identifier which is also registered as new command. This command can be used to make some operations on the widget. All widgets have at least commands to configure, hide, and destroy the widget. The identifier may be also used as argument for bind or some container command.
A complete list of all commands for creating widgets and others can be found here