Inherits XGP::XDialog.
Public Member Functions | |
~XAbout () | |
void | setIconProgram (const guint8 *iconData, int lenData) |
void | setIconAuthor (const guint8 *iconData, int lenData) |
Static Public Member Functions | |
static XAbout * | create (const Glib::ustring &author, const Glib::ustring &program) |
Protected Member Functions | |
XAbout (const Glib::ustring &author, const Glib::ustring &program) |
It is assumed, that the program is distributed under the GNU public license.
Furthermore it is possible to specify icons for programmer and application.
XGP::XAbout::~XAbout | ( | ) |
Destructor.
XGP::XAbout::XAbout | ( | const Glib::ustring & | author, | |
const Glib::ustring & | program | |||
) | [protected] |
Constructor; adds all controls to the dialog and shows it.
author | Author, copyright, ... of the program displayed in the client | |
program | Name and version of the program; displaced in the title |
XAbout * XGP::XAbout::create | ( | const Glib::ustring & | author, | |
const Glib::ustring & | program | |||
) | [static] |
Creates a (modeless) about dialog and registers a handler to free it after deleting.
void XGP::XAbout::setIconAuthor | ( | const guint8 * | pIconData, | |
int | lenData | |||
) |
Sets the icon for the programmer (in xpm-format).
pIconData | Pointer to xpm-data for pixmap representing the programmer | |
lenData,: | Length of image |
void XGP::XAbout::setIconProgram | ( | const guint8 * | pIconData, | |
int | lenData | |||
) |
Sets the icon for the program (in inline format).
pIconData | Image representing program | |
lenData,: | Length of image |