| spec | explanation |
| btn;method | calls method of the object (no arguments) uses "gui_btn_call" callback |
| btn;name;method | name = button name, calls method of the object (no arguments) object id is encoded in the button id (does not use window id => must use this when listing other objects in a panel) uses "gui_btn_do" callback function |
| btn;name;btn_proc;1 | button name = name, uses btn_proc for callback |
| txt;text; | draws text using font size=12, default color |
| txt;text;fsize | specifies font size = fsize |
| txt;text;fsize;rgb | specifies font size, color |
| txt;text;fsize;rgb;1 | add "edit", "del" button |
| str;sname | makes variable field associated with string member "sname" |
| str;sname;varproc | similar to the above but variable field has a callback "varproc" which is a method of the object |
| var;vname | makes variable field associated with variable member "vname" |
| var;vname;varproc | similar to the above but has callback "varproc" which is a name of a method of the object |
| spop;sname;popstr | string variable field with popup memu associated with it, "sname" = a name of string member, popstr = name of string member which contains string or string function to be used with popup menu, default callback procedure for the pupup is "gui_pop_setvar" which set the value of the string member "sname". |
| spop;sname;popstr;proc | similar to above but uses "proc" instead of default "gui_pop_setvar" |
| mpop;sname;popstr | similar to spop but uses the callback function "gui_pop_appendvar" which appends selected value to the string member "sname" |
| chk;vname | create check box, corresponding variable member ("vname") has either 1 (checked) or 0 (unchecked). |
| strbtn;sname | similar to "str;sname" but has associated small button which calls "edit" method of the object whose path is determined by the value of string member "sname". |
| strbtn;sname;btnproc | similar to "str;sname" but has small button which calls "btnproc" method of the object |
| strbtn;sname;btnproc;varproc | similar to the above but variable field has callback "varproc" which is a method of the object |
| varbtn;vname | similar to "strbtn;sname" |
| varbtn;vname;btnproc | similar to "strbtn;sname;btnproc" |
| varbtn;vname;btnproc;varproc | similar to "strbtn;sname;btnproc;varproc" |