Module GUI

Global functions for interacting with the GUI.

The functions listed on this page are registered in the Lua state as globals, and as such are accessible from anywhere automatically. They offer various functionalities for creating or destroying Frames, and accessing a few other global properties or objects.

Functions

log()
create_frame()
delete_frame()
register_key_binding()
set_key_binding()
reload_ui() Closes the whole GUI and re-loads addons from files.
set_interface_scaling_factor(factor) Sets the global interface scaling factor.
get_interface_scaling_factor() Return the global interface scaling factor.


Functions

log()
create_frame()
delete_frame()
register_key_binding()
set_key_binding()
reload_ui()
Closes the whole GUI and re-loads addons from files. For safety reasons, the re-loading operation will not be triggered instantaneously. The GUI will be reloaded at the end of the current update tick, when it is safe to do so.
set_interface_scaling_factor(factor)
Sets the global interface scaling factor.

Parameters:

  • factor number The scaling factor (1: no scaling, 2: twice larger fonts and textures, etc.)
get_interface_scaling_factor()
Return the global interface scaling factor.

Returns:

    number The scaling factor (1: no scaling, 2: twice larger fonts and textures, etc.)
generated by LDoc 1.5.0 Last updated 2023-10-08 09:07:54