Navigation
Usage Information
Developer Information
Addon and Plugin Documentation
Addons
Plugins
Navigation
Usage Information
Developer Information
Addon and Plugin Documentation
Addons
Plugins
This is an old revision of the document!
The gui namespace contains functions that interact with the ImGui interface of Ashita. This allows addons to create rich user interfaces.
You can access these functions via:
ashita.gui.
Because of the nature of these functions and the amount of functions that exist, I do not plan to create full documentation for each function. You can find an example of the ImGui demo application ported to an Ashita addon here instead.
This will serve as a demo of how to use these functions:
https://gist.github.com/atom0s/188283e6ff097f37fa31400f22ec8762
It is important that when making use of the GUI functions, that your addon includes the script: 'imguidef'.
You can do this by adding the following line of code to the top of your addon:
require 'imguidef'