Below I described libgreattao API
It will checks each string pointed by argv array with size pointed by argc for matching to string given by module/shell/networking. If matched, it will asks for password. Application must be protected against debugging. I do not known how to protect debugging in good fashion, but setting suid/guid bits are bad idea, because libgreattao can work in GUI and GTK+/Qt backends are sensitive about these bits.
This function must be called before tao_initialize.
It creates new window of specific classes. Windows classes file of given class will be processed, creating widget not associated to any template. Also templates not associated to any template will be added to list of window templates. Pointer to new window will be returned. The pointer is void type, because:
It searches for templates matched to given epath and process it in normal mode. This call additionally add domain_path structure in normal mode or action structure in shell mode to window, so future call to function needs window and epath will operate on this domain_path or action structure. In normal mode matched templates will be processed, creating widgets and attaching new templates to window.
It initializes libgreattao. This function must be called once application starts. Initialization process can bet
It runs event iteration. Due to limitations of QT backend and libgreattao you should call this function in main thread and execution of main thread should be in this function, when calling any libgereattao function in different thread.
Open file with given path and return file descriptor for file with given path.
Open file with given path and return file descriptor for file with given path. It opens file remotly, when libgreattao application works in network mode.
Close given fd and sends file related to given fd over network.
Retruns string given as program API/GUI version in command line.
Returns string related to given window and path(for example value provided by user). Error pointer tells if there error occurred.
Allows to set license text and notice. Actually this function are related only to shell working in interactive mode
Adds icon to icon set. In connection with tao_set_helper you can order libgreattao with iconset contains icon with size between minimum and maximum.
Delete elements with given path for given window_. If path ends with '/' then all children elements will be removed without parent. If path ends with other character than '/', then all children elements and element with given path will be removed.
Set path to application depended window class. If there's no matching path for given path, then window classes from alternative path will been used.
Change importance of elements in given path. While calling this function, libgreattao will recalculate window content.
Create timer and launch it. Return pointer to special structure contains timer data. Timers are invoked in tao loop.
Removes given timer.
Set given child_ as modal window with given parent_.
Callback function will be called, when application exits.
Function created for displaying simple windows, like messages. It starts message loop and exits from it, when all given window in windows array are closed. Backend are informed that windows are working in ghost mode, which means window doesn't need interaction. Some backends, like console, will automatically close windows after displaying it, so you can wrote simple program similar to ls, which only prints results in console backend and show window in graphical mode.