rpm -Uhv paragui-x.x.x.rpm rpm -Uhv paragui-devel-x.x.x.rpm
and you're set.
tar -zxvf paragui-x.x.x.tar.gz cd paragui-x.x.x ./configure [options] make make install (as root)
tar -zxvf paragui-cvs.tar.gz cd paragui sh autogen.sh ./configure [options] make make install (as root)
--prefix="path"
I found that many people out there simply forgot that this option exists in every configure script. I suggest to use "--prefix=/usr" for any RedHat and compatible (Mandrake, ...) system.
--disable-static
This option is also a common one but not known by many people. Use it if you don't need to build static link libraries. It will greatly increase the compilation (and linking) speed.
--enable-debug
Will produce debug messages during execution (slow).
--with-themedir=DIR
ParaGUI themefiles will be placed in DIR.
Default location is PREFIX/share/paragui
Change this line in autogen.sh<br>
aclocal
aclocal -I /usr/local/share/aclocal
To build them simply change to the "test" directory in the sources after installation of the library and enter the followwing commands:
make
I would suggest to browse the source of "paratest" (paratest.cpp) to learn more about ParaGUI.
Another very useful sample is "dblbuffer" which shows how to use ParaGUI in combination with the SDL doublebuffer mode (game developers know what I'm talking about).
The XML layout loader capabilities are shown in "layouttest".
If you downloaded the documentation tarball the described procedure also applies to the tutorials included in docs (in the "tutorial" directory).
A child normally also becomes a child widget, i.e. it is displayed in its parent's coordinate system and is graphically clipped by its parent's boundaries. For example, when the an application deletes a message box after it has been closed, the message box's buttons and label are also deleted, just as we'd want, because the buttons and label are children of the message box.
You can also delete child objects yourself, and they will remove themselves from their parents.
!! UNFINISHED !! - Need to say a bit more