Showing posts with label Computer programming. Show all posts
Showing posts with label Computer programming. Show all posts

Friday, August 28, 2020

August News

A bit late, but a couple of updates in July. The text search applying to whole words may present some issues where pattern matching on sub-strings was used. A later version may see the introduction of a -subString option.

 2020-07:
    gnocl::label
        o new options: -editable, boolean. Use in conjunction with the edit command.
         -onEnter, -onLeave, allows reaction to potential label rollover effects.
    gnocl::text
        o search will now ignore word embedded search patterns, i.e. search whole word only.

Monday, July 20, 2020

Gnocl Dashboard



Over the past few programming sessions I've been working on producing a central point, a dashboard, around which it's possible to see the various Gnocl widgets and commands in operation. In many ways like the demo script which shipped with the earlier releases of Gnocl but offers much more. The introspection functionality provides details of the various options and sub-commands of each Gnocl procedure which are displayed under the associated tab. Sample scripts are included for each item which offers newcomers a clearer insight into how make the most of what's on offer.

June News


Just a few updates and resolutions with the sources.


2020-06:
    gnocl::spinButton
        o %d substitution now works with -onValueChanged
    gnocl::info
        o new sub-command, compileDate
          returns date and time when gnocl.so compiled
    gnocl::entry
        o added %t (text contents) and %v (validate command) to -onChanged -onKeyPress subsitutions strings
        o problems with undo/redo commands resolved
        o command listStack now returns entry undo/redo stack
    gnocl::tickerTape
        o start, stop and deleted commands now work properly
    gnocl::richTextToolBar
        o problems with delete command now resolved.

Tuesday, January 12, 2010

gnocl::assistant -day 2

Unusually for me I finished yesterday's programming stint on a high.

I've got the gnocl::assistant running sweetly and so I want to put to good use helping me! How many times have I sat down and build new widget modules from scratch or re-worked bindings of the same class (eg buttons) when I know the whole process can be semi-automated?

Well, early today I put together a bare bones template for implementing new widget bindings. After this was completed, I brought the C module into a Tcl script as a string and set up a series of [string map] operations to modify the code to set up core functions and options with binding related names. The script will also backup and then modify the gnocl master Makefile to build and link the new module into the package. Oh, the joys to Tcl programming! Following that I put the basics together for the assistant script which is starting to look pretty good. Can't wait to finish it, a sort of late Christmas present for myself!
Reblog this post [with Zemanta]

json_shell_utils.tcl