This weekend's project has been to work on Gnocl's binding to the LibGlade libraries. So far, so good. For those interested, here's the tcl test script.
# William J Giddings
# the next line restarts using tclsh \
exec tclsh "$0" "$@"
package require Gnocl
package require GnoclGladeXML
gnocl::gladeXML glade calculator.glade
And here's a screenshot:
Now, the next step is responding to events. By far the simplest and quickest way to do this is to provide script the access to the widgets constructed in the glade file.
Anyone got any suggestions on how to 'step' through the widget tree? Is there an arcane Gtk+ call that will 'reveal all'?
I need to supply widget pointers in order to register them with the Tcl Interpreter.