The m GUI framework offers the following functionality:
This module and its accompanying modules abgui, abfilegui can serve as a standard framework for graphical m applications. If set up properly, the abguibase.run event loop will serialize user input, external events or input, and call the corresponding handlers, thus providing a common callback-driven application framework.
use abgui, abguibase, ui, graph // build the UI view:abguibase.Box=abguibase.Box(); view.add(abgui.Image("tests\\mShell.png")); table:abgui.Table=abgui.Table([ ["Strawberry",1.5,false], ["Vanilla",1.3,true], ], ["Flavour", "Price", "Ok"]); view.add(table); row:abguibase.Box=abguibase.Box(3); // three horizontal buttons view.add(row); group:abgui.RadioButton=abgui.RadioButton("Now"); row.add(group); row.add(abgui.RadioButton("Later", group)); row.add(abgui.RadioButton("Never", group)); // show the view abguibase.setRoot(view); // setup the menu ui.menu("GuiSample", ["Buy", "Exit"]); do cmd=abguibase.run(); case cmd in "Buy": // do something end until cmd=null or cmd="Exit"