Skip to content

Example #1 Hello World

CH4MPi edited this page Oct 29, 2021 · 4 revisions
# import the guiflash module
from gambiter import g_guiFlash
from gambiter.flash import COMPONENT_TYPE

# create a label component
g_guiFlash.createComponent('labelAlias', COMPONENT_TYPE.LABEL, {'text': 'Hello, world!'})

That’s all you need to display a simple text message.

Clone this wiki locally