Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Carr fe6a8dd969 gocui plugin refactor to a *node binary tree
rename arg '--gui <toolkit>'
    add a cloudflare example
    fixes since go v1.21 didn't compile anymore due to argv order
    more place() changes
    recursive size computation

    gocui: Major refactor to use the *node binary tree
    gocui: refactor place() and size()
    gocui: better place() and spacing (tab, buttons, etc)
    gocui: better mouse click handling
    gocui: switch to using tk.gocuiSize & tk.size
    gocui: event handling cleanups
    gocui: add window labels work
    gocui: struct cleanups
    gocui: duplicate binary tree structs removed
    gocui: deprecate old children

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-02 19:02:51 -06:00
Jeff Carr 17b59b7e7e gocui: proper line count on Stdout
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 22:08:43 -05:00
Jeff Carr a4403975e7 gocui: standard close
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 21:36:56 -05:00
Jeff Carr 4e8a1bc432 gocui: log() output works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 20:56:25 -05:00
Jeff Carr a8b4c45eb7 gocui: try to make struct defaults work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-24 14:17:43 -05:00
Jeff Carr 22e0033c69 try to find the parent window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-24 08:45:30 -05:00
Jeff Carr 597b17039a gocui: always show STDOUT
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-24 06:22:14 -05:00