Commit Graph

82 Commits

Author SHA1 Message Date
Jeff Carr 0a4a0c5f9b fix the last callback
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 19:45:59 -07:00
Jeff Carr 0a7370d7f8 Add an example libUI table to push upstream
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 19:31:58 -07:00
Jeff Carr cec3013b97 final code reorg before attempting to implement a WIT VM table
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 18:35:58 -07:00
Jeff Carr 44c64228ce All demo table code is now seperate
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 18:33:23 -07:00
Jeff Carr 96348bc86d move more of the table Demo code into it's own file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 18:16:58 -07:00
Jeff Carr 261b49782d Move Cellvalue() into using standard callbacks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 18:07:31 -07:00
Jeff Carr 9b3e15c7df removed old testing code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 17:07:45 -07:00
Jeff Carr 3f2645e4b0 fix all the GTK errorrs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 16:58:44 -07:00
Jeff Carr 369a8941a8 successfully add 2 tabs dynamically
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 16:42:16 -07:00
Jeff Carr dc3f440e47 dynamically add tabs. work around the JSON config file problem
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 14:54:08 -07:00
Jeff Carr e4233a1251 move to a human readable tab-indented JSON config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 05:40:07 -07:00
Jeff Carr 5f1dde7e27 write out json and yaml config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 05:02:39 -07:00
Jeff Carr 64223c47cd loop through attempts to connect every 10 seconds
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 04:28:50 -07:00
Jeff Carr 629de89203 Add a systray example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 02:45:36 -07:00
Jeff Carr d0f9f6aedf rename the examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-07 02:41:23 -07:00
Jeff Carr 00a2d142f1 moved to gui.go. jesus this language is great to work with
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 19:00:52 -07:00
Jeff Carr 4d13b8abec prepare to move all the GUI code out of main.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 18:57:59 -07:00
Jeff Carr 6ddbe8c28d need this for it to work under windows. This is probably actually a bug
and can be fixed in the andlabs import internally with go

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 17:42:59 -07:00
Jeff Carr 673b5b245c keep trying to move column numbers to common structs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 17:33:29 -07:00
Jeff Carr 3a40ecad4c trim out all the garbage from the example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 16:43:54 -07:00
Jeff Carr 790b4ae20a add a gui-example1/ to test macos and windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 16:41:59 -07:00
Jeff Carr ea1c9fd64d added a buttons column
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 14:45:44 -07:00
Jeff Carr 42f722fada different tables with different numbers of rows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 14:22:40 -07:00
Jeff Carr 229b470935 pass the name into the handler. start seperating the ui table callbacks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 14:14:32 -07:00
Jeff Carr 85956b4020 due to some sort of magic, two tables like this actually fucking worked without a segfault
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 13:50:10 -07:00
Jeff Carr cbdf74a764 start focusing on making a table for the VMs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 09:51:16 -07:00
Jeff Carr a07d6f6898 allow editting the whole column start on a golang struct
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 00:54:49 -07:00
Jeff Carr 701339dd7c add a table after figuring out how to correctly get it
to work under linux. TODO: send fix to libui author

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-06 00:32:46 -07:00
Jeff Carr 910107d044 start to simplify some of the UI code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 06:44:56 -08:00
Jeff Carr 0c7ed3bab4 show k8s pods that work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 06:35:08 -08:00
Jeff Carr 4c686b87a5 Initial Commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-02-01 05:28:17 -08:00
jcarr 6374c57995 Initial commit 2019-02-01 13:16:56 +00:00