Cross-Toolkit GUI Widgets Project
This project provides an abstraction layer over GUI toolkits, representing widgets as abstract objects (e.g. buttons with click handlers) so the same widget definitions can be used across many GUI toolkits and languages, including Ruby (with JRuby/Swing), Python, Java, and JavaScript/web. Widget usage and customization, including method invocations, can be described via a YAML file, making it easier to tweak individual widgets without sifting through code; the author mainly applies this to smaller single-purpose widget components such as a GUI over wget. Long-term goals include a simple DSL that lets anyone easily customize everything and a widget set broad enough to build things like a webmin-style GUI for a whole operating system plus games such as solitaire and reversi.
What it addresses
GUI code is typically tied to a specific toolkit or language, and customizing individual widgets normally requires sifting through source code; this project addresses that with abstract, reusable widget objects and YAML-based description of widget usage and customization.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Cross-Toolkit GUI Widgets Project
This project provides an abstraction layer over GUI toolkits, representing widgets as abstract objects (e.g. buttons with click handlers) so the same widget definitions can be used across many GUI toolkits and languages, including Ruby (with JRuby/Swing), Python, Java, and JavaScript/web. Widget usage and customization, including method invocations, can be described via a YAML file, making it easier to tweak individual widgets without sifting through code; the author mainly applies this to smaller single-purpose widget components such as a GUI over wget. Long-term goals include a simple DSL that lets anyone easily customize everything and a widget set broad enough to build things like a webmin-style GUI for a whole operating system plus games such as solitaire and reversi.
Problem: GUI code is typically tied to a specific toolkit or language, and customizing individual widgets normally requires sifting through source code; this project addresses that with abstract, reusable widget objects and YAML-based description of widget usage and customization.
Posted by @shevy-java · Original source ↗
Source text · @shevy-java · · Source ↗
I improved the widgets-project I maintain. This one is to be used to support as many different GUI toolkits as possible (including use cases for javascript + the web).