Commit Graph

26 Commits

Author SHA1 Message Date
Jeff Carr fb89975cdf almost completely able to automate adding columns
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:26:35 -07:00
Jeff Carr 97d7ad349e futher choose better names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:09:39 -07:00
Jeff Carr b28c2c09fa those things are 'rows' in the table
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:06:46 -07:00
Jeff Carr e41764285c start renaming variables to figure out what to do next
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 03:02:32 -07:00
Jeff Carr f5be9dbd1e god bless golang
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 02:53:42 -07:00
Jeff Carr 59e459799e hmm. now to think how to generate this
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 01:59:33 -07:00
Jeff Carr b84d38e33b ah. maybe it's possible to completely abstract this all away
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 01:49:09 -07:00
Jeff Carr fb95e77b50 remove some cruft. still doesn't crash & color works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:47:28 -07:00
Jeff Carr 32f03ccffa color text works for some reason
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:41:55 -07:00
Jeff Carr f1a37e410c no longer crashes. seems stable. Can edit text fields
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 00:02:47 -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 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 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 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