Friday, May 04, 2018

May Update

Only a few enhancements to report for April.  At the moment using the gnocl::text  -swap and -balanceQuotes options needs some care when implemented. As both of these options work in response to a Gtk key-release signal, using these in conjunction with -onKeyPress may produce some unexpected results. For reason for this is that the Gtk internals allow for multiple bindings to various events which these are prioritized based upon their position within a processing stack. To ensure complete control over the ordering, it is advised to set these options using the widget configure subcommand.

        o cget -swap, -balanceQuotes and -margins now work correctly
        o new subcommand "children".
        o option -version default set to 0.1

Tuesday, April 10, 2018

April Update

Some minor enhancements to the core modules. The most significant is a fix the gnocl::list row checking. Previously, if a row was creates with columns less than the total for the list model, then individual cell renderers would not have been created. The fix will check the proposed row length matches that which is expected.

    gnocl::tree, gnocl::list
        o new option -sensitive
        o enhanced error checking of item list lengths when adding
          a new row a new row list MUST contain the exact number
          of entries.   
        o fixed problem with -data option.
        o search command no longer requires -tags option to be set,
          returns a list of row col values defining start/end
          positions of search string

Friday, March 09, 2018

March Update

I've spent much of my coding time over the past few weeks on other projects so Gnocl didn't receive too much attention. However, there is something to report as of today.

        o search command no longer requires -tags option to be set, 

          returns a list of row col values defining start/end 
          postions of search string

        o -currentFolder option now works properly.

Friday, February 02, 2018

From first glance at the clip from the latest news it might appear that little has on the Gnocl coding front. Not really, a long-standing issue with the toolbar was fixed along with some extra new options, keywords and commands for the text widget. The latest downloads of course, still available from Sourceforge.

        o problem with setting -styles now fixed
        o new option -margins.
            Convenience function to set margins and paragraph spacings in pixels.
            Give list as left, right, above, below.
            o new sub-commands: gotoNextWord, gotoPreviousWord
            o gotoWordStart, gotoWordEnd, gotoNextWord, and gotoPreviousWord all return new cursor position.       
              these take optional "row col" argument otherwise works from current cursor position.   

Sunday, December 31, 2017

Last Post for 2017!

A lot of work has been done on the development sources over the past month.  Most are the addition of extra functionality to the existing widget set along with a few internal bug fixes.

Here looking forward to 2018!

    Added three macro-like commands used for testing the existence of
        proceedures and variables: __DEF_PROC__, __DEF_VAR__ and __DEF_GLOBAL__
        o changed command onSelectionChanged to selectionChanged.
        o new option -keys, keywords or tags use in saving off column data.
        o sub-command getFullist has new options, -keys, return list data as ro   
        o Fixed problem of widget failing to return and empty string when cancel button selected.
        o gnocl::winfo geometry has new option, -tagged. This will return geometry as a tagged list.
            eg: puts [gnocl::winfo geometry $wid -tagged] returns:
            x val y val w val h val
            This option simplifies up value setting from using list of scan operations by using arrays or dicts.
            array set geometry [gnocl::winfo geometry $wid -tagged]
        o new command, remove
        o new command, returns tagged list of attributes from font description string.
        o new sub-command: resolution
    gnoclk::labelEdit, gnocl::labelText, gnocl::labelWidget
        o new options: -visible
        o new options: -visible, -widgetWidthGroup
        o new options: -onFocusIn, -OnFocusOut, -innerBorder, -heightRequest
        o additional substitution strings %t, %p.
        o added "remove" command
        o added "remove" command
        o new command, activate
        o %t, %p and %c added to -onActivate callback substitution strings
        o added option -tooltip
        o new options, -variable and -textVariable
            Module re-written to creat parameters file for the widget creation.
        o added %x, %y, %w and %h subsitution strings.
        o added -x, -y, -width and -height options.
        o added -onFileSet and -onSelectionChanged.
            -onFileSet, new substitution string, %f, current file/folder path, responds to dialog.
            -onSelectonChanged, responds to selections from popup-menu, %c %d %f %u %w