summaryrefslogtreecommitdiff
path: root/toolkit/gocui/main.go
AgeCommit message (Collapse)Author
2023-12-20move to go.wit.com/guiv0.9.0Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-12-20code moved to the cloudflare packageJeff Carr
use the cloudflare package add a protobuf attempt better change detection, but formatting is broken don't redraw widgets if they are not visible create new dns entry worked attempting a DNS RR create attempt a create API call use cloudflare recommended ENV vars turn off debugging Signed-off-by: Jeff Carr <[email protected]>
2023-12-16gocui: fixes to labels + line entriesv0.8.8.1v0.8.8Jeff Carr
correct line hight dump non-working size rectangle code somehow works better better dropdown menu debugging minor fixes to common.go more common code Signed-off-by: Jeff Carr <[email protected]>
2023-12-02gocui plugin refactor to a *node binary treeJeff Carr
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 <[email protected]>
2023-04-27gocui: grid width fixedJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: standard closeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: log() output worksJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-26gocui: closer to working layoutJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-25gocui: hmm. trying to reformat the layoutJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-25golang: finally doing struct defaults rightJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-24gocui: try to make struct defaults workJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-24gocui: always show STDOUTJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-23more code cleanupsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-22unloading the gocui toolkit worksJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-11andlabs is brokenJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-08gocui: compiling and running againJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-08gocui: smarter debuggingJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-08gocui: keep deprecating non-gochannel codeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-08ready to start deprecating codeJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-08both andlabs & gocui plugins have working channelsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-07open gocui when DISPLAY=""Jeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-06gocui: callbacks work via a channelJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-06gocui: more size calculationsJeff Carr
Signed-off-by: Jeff Carr <[email protected]>
2023-04-03gocui: working towards correct layoutJeff Carr
make a gocui widget binary tree more debugging cleanups sample button app displays in gocui geometry logic closer to correct improvements in gocui layout continued attempts to clean up tabs dump binary tree moving towards proper chan callback() deprecate Widget.Name Signed-off-by: Jeff Carr <[email protected]>
2022-11-13Massive refactor to use go plugins. This is neat.Jeff Carr
update README.md set xterm title. make os.Exit() default on window close add a toolkit.Widget to the node structure remove 'Greeter' symbol mapping scheme removed the testing greeter code plugins: attempt to load plugins in a sensible order andlabs/ui: working andlabs/ui plugin (andlabs2) buttons work in andlabs plugin TODO: re-implement non-plugin version for Windows mswindows doesn't support go plugins yet gocui: put the gocui console so file in the binary does a full init of gocui plugin Button() and Group() working very well with gogui cleanly exit gocui technically you can load two toolkits at the same time kinda both working at the same time. esoteric two working plugins at the same time give up working on two gui's at the same time this is fun, but _not interesting wow. this actually works. NewButton() from both toolkits examples: all the examples run again remove early helloplugin example buttonplugin example cmd code buttonplugin runs and ldd is minimum Signed-off-by: Jeff Carr <[email protected]>
2022-11-06Implement a early AddButton() via a golang pluginv0.4.5Jeff Carr
pass a name to gocui.AddButton() cleaner plugin usage add the start to golang plugin plugin stuff in a single file added a button correctly andlabs/ui added a button via plugin to gocli hot diggity! trying to invoke a gocli plugin function from the andlabs ui load the plugin hide more debugging output turn off all output Signed-off-by: Jeff Carr <[email protected]>
2022-11-06start trying to make the tookits pluginsv0.4.3Jeff Carr
totally minimize helloworld demo try to make a button plugin example debug changes final changes before attempting to use a golang plugin actually running gocui as a plugin add gocli-as-plugin example try to convert the go-cui toolkit into a plugin doc updates make a minimal console gui Signed-off-by: Jeff Carr <[email protected]>