lgtk alternatives and similar packages
Based on the "GUI" category.
Alternatively, view lgtk alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of lgtk or a related project?
LGtk: Lens GUI Toolkit
What is LGtk?
LGtk is a GUI Toolkit.
Main goals of LGtk:
- Provide a Haskell EDSL for declarative description of interactive graphical applications
- Provide an API for custom widget design
- Provide a playground for high-level declarative features like derived state-save and undo-redo operations and type-driven GUI generation
- Be platform independent (including web browsers)
- Support several backends and be able to use native widgets for each backend
- Use high-level abstractions like lenses
- Try out an FRP variant which is built on state-based signals instead of time-based signals
LGtk has currently two backends: Gtk and diagrams+cairo+GLFW.
The current GLFW backend implementation is not native-looking and inefficient but this is the most easy to install and this is the recommended backend.
There is a demo application which presents the current features of LGtk.
Status per goals:
- Provide a Haskell EDSL for declarative description of interactive graphical applications -- the next main missing feature is widget styling to be useful
- Provide an API for custom widget design -- not yet worked on it
- Provide a playground for high-level declarative features -- derived undo-redo operations are ready, needs documentation
- Be platform independent -- known to work on Linux; should work on Windows and Mac too
- Support several backends and be able to use native widgets for each backend -- Gtk and diagrams+cairo+GLFW is supported, the diagrams+cairo+GLFW implementation is inefficient
- Use high-level abstractions like lenses -- lenses are used but needs documentation
- Try out an FRP variant which is built on state-based signals instead of time-based signals -- state-base FRP from the lensref package is used but needs documentation
The demo application presents the current features of LGtk.
TODO: pictures & video link
The easiest is to install lgtkdemo from hackageDB:
cabal update cabal install lgtk lgtkdemo
To install lgtkdemo with the Gtk backend you have to enable the
cabal update cabal install gtk2hs-buildtools cabal install lgtk -fgtk lgtkdemo
Only some Haddock documentation is available at the moment.