Gui module

Core Module - Gui

Functions

on_custom_event(handler) Adds a custom event handler, replace with the name of the event
set_custom_property(value) Sets a new value for a property, triggers setter method if provided, replace with property name

Functions

# on_custom_event(handler)

Adds a custom event handler, replace with the name of the event

Parameters:
  • handler : (function) the function which will recive the event
Returns:
  • (GuiConcept) to allow chaing of functions [[@usage
# set_custom_property(value)

Sets a new value for a property, triggers setter method if provided, replace with property name

Parameters:
  • value : (any) the value that you want to set for this property
Returns:
  • (GuiConcept) to allow chaing of functions [[@usage