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.


2018-03:
    gnocl::tree, gnocl::list
        o new option -sensitive
    gnocl::list
        o enhanced error checking of item list lengths when adding
          a new row a new row list MUST contain the exact number
          of entries.   
    gnocl::dialog
        o fixed problem with -data option.
    gnocl::text
        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.

2018-03:
    gnocl::text
        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
 

2018-02:
    gnocl::fileChooserDialog
        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.


2018-01:
    gnocl::toolbar
        o problem with setting -styles now fixed
    gnocl::text
        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!


2017-12:
    Added three macro-like commands used for testing the existence of
        proceedures and variables: __DEF_PROC__, __DEF_VAR__ and __DEF_GLOBAL__
    gnocl::tree/list
        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   
    gnocl::fileChooserDialog
        o Fixed problem of widget failing to return and empty string when cancel button selected.
    gnocl::winfo
        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.
            eg:
            array set geometry [gnocl::winfo geometry $wid -tagged]
    gnocl::frame
        o new command, remove
    gnocl::font
        o new command, returns tagged list of attributes from font description string.
    gnocl::screen
        o new sub-command: resolution
    gnoclk::labelEdit, gnocl::labelText, gnocl::labelWidget
        o new options: -visible
    gnocl::labelWidget
        o new options: -visible, -widgetWidthGroup
    gnocl::labelEntry
        o new options: -onFocusIn, -OnFocusOut, -innerBorder, -heightRequest
    -onExpose
        o additional substitution strings %t, %p.
    gnocl::window
        o added "remove" command
    gnocl::expander
        o added "remove" command
        o new command, activate
        o %t, %p and %c added to -onActivate callback substitution strings
        o added option -tooltip
    gnocl::progressBar
        o new options, -variable and -textVariable
            Module re-written to creat parameters file for the widget creation.
    -onClicked
        o added %x, %y, %w and %h subsitution strings.
    gnocl::aboutDialog
        o added -x, -y, -width and -height options.
    gnocl::fileChooserButton
    gnocl::folderChooserButton
        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   

Thursday, November 30, 2017

Recent Changes, to the sources

 Latest Nightly build now available from SourceForge. Lots of work done over the past 6 weeks, and here's the gist from the project NEWS.


2017-11:
    gnocl::paned
        o    added -min, -max
    gnocl::treeList
        o    appending row to image columntype now supports %& percent-string (icon-theme).
    gnocl::image
        o    -image options now supports %& (icon-theme) percent string.
    gnocl::button
        o    -icon options now supports %& (icon-theme) percent string.
        o    -iconSize, set size of icon, default = 22.
    gnocl::toolPalette
        o drag and drop between itemgroups now works. Unecessary options removed.
    gnocl::recentFilter
        o     new command, allow the creation and manipulation of filters for use in recent menus, dialogs and widgets.
    gnocl::paned
        o    added commands pack, remove.
    gnocl::notebook
        o    tab tearoff now fully supported, closing tearing window restores tabs to original notebook.
            tearoff window closes when last tab removed.
        o    added -detachable, -reorderable, and -enablePopup.
    gnocl::dialog
        o    will now close without setting -onResponse option.
        o    added -action and -content (same as -child).
        o    problems with -icon fixed.
    gnocl::messageDialog
        o    added gnocl::message as synonym for gnocl::messageDialog.
        o    module source renamed from msgDialog.c to message.c
    gnocl::radioButton, gnocl::menuRadioItem
        o    added %g substitution implemented in callback
    gnocl::menuItem
        o    clash between markup and percept mnemonics resolved, markup removed for %_ strings.
    gnocl::menuCheckItem
        o    -radio, choose between button or tick (default).
        o    onToggled renamed to toggle, now works correctly
        o    %g substitution implemented in callback.
    gnocl::checkButton   
        o    %g substitution implemented in callback.
    gnocl::screen
        o    new sub-command, primary.
    gnocl::menu
        o     completed code for addBegin and addEnd
            although may prove of limited value in scripts, the following commands have been added:
            deactivate, itemActivate, select, reposition, get
2017-10:       
    Widget subcommands "options" and "commands" removed from all objects. Use gnocl:: options|commands.
    gnocl::fontSelectionDialog
        o    module completely revised, commands not permissible while dialog running.
    gnocl::fontSelection
        o    added options: -data, -name, -tooltip, -widthRequest, -heightRequest and -onClicked
    gnocl::iconView
        o    BUG FIX: -tooltip option no longer requires setting when adding icons.
            configure sub-command now works properly
            -selectionMode fully implemented
            NEW COMMANDS: get, select, getSelection
    gnoc::infoBar
        Module tidied up, ineffectual calls to Gtk api removed.
        Available options are:
        -child, -type, -buttons, -actionWisdgets, -data, -onResponse, -onShowHelp,
        -visible, -sensitive, -name, -heightRequest, -widthRequest, -tooltip