gtk-jsinput

A simple custom form widget for gtk which allows inputing of JSON values

http://github.com/timthelion/gtk-jsinput

Latest on Hackage:0.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-3.0-only licensed by Timothy Hobbs
Maintained by Timothy Hobbs

Generates a simple form which allows users to input JSON values of type Bool, Rational and String. Saving of the form data is performed on "focus change". This means that you provide jsInputNew with a special callback and that callback gets run every time the user changes a value in the form. You can then save the contents of the form, or sync them to your application's own internal state.