Adds a label component to a dialog.
The label can have a name and an text.
planetcnc.dlg_add_label(handle, name, text)
#! /usr/bin/env python import planetcnc dlg_handle = planetcnc.dlg_new("Examples") # Add a label component to a dialog planetcnc.dlg_add_label(dlg_handle, "My Label", "Hello, World!") planetcnc.dlg_show(dlg_handle)