#include "la_5.h" void MyPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedProps, laColumn *UNUSED, int context){ laColumn* c=laFirstColumn(uil); laShowLabel(uil,c,"Hello world!",0,0); } int main(int argc, char *argv[]){ laGetReady(); laRegisterUiTemplate("my_panel","My Panel", MyPanel,0,0,"Demonstration", 0); laWindow* w = laDesignWindow(-1,-1,600,600); laLayout* l = laDesignLayout(w,"My Layout"); laCreatePanel(l->FirstBlock,"my_panel"); laStartWindow(w); laMainLoop(); }