GtkAboutDialog
Display information about an application.
Object Hierarchy
GObject
`-- GtkObject
`-- GtkWidget
`-- GtkContainer
`-- GtkBin
`-- GtkWindow
`-- GtkDialog
`-- GtkAboutDialog
Description
The GtkAboutDialog widget offers a simple way to display information about a program, such as its logo, name, copyright, website and license. It is also possible to give credits to the authors, the documentation team, translators and artists who have worked on the program. An about dialog is typically opened when the user selects the About option from the Help menu. All parts of the dialog are optional.
About dialog often contain links and email addresses. GtkAboutDialog supports this by offering global hooks, which are called when the user clicks on a link or email address, see set_email_hook() and set_url_hook() . Email addresses in the authors, documenters and artists properties are recognized by looking for <user@host>, URLs are recognized by looking for http://url, with url extending to the next space, tab or line break.
Constructors
GtkAboutDialog ();-- Constructs a new about dialog.
Methods
get_artists() Returns artists credits as an array. get_authors() Returns authors credits as an array. get_comments() Returns the comments string. get_copyright() Returns the copyright string. get_documenters() Returns documenter credits as an array. get_license() Returns the license information. get_logo() Returns the pixbuf displayed as logo in the about dialog. get_logo_icon_name() Returns the icon name. get_translator_credits() Returns the translator credits string. get_version() Returns the version string. get_website() Returns the website URL. get_website_label() Returns the label used for the website link. set_artists() Sets the strings which are displayed in the artists tab of the secondary credits dialog. set_authors() Sets the strings which are displayed in the authors tab of the secondary credits dialog. set_comments() Sets the comments string to display. set_copyright() Set the copyright text. set_documenters() Sets the strings which are displayed in the documenters tab of the secondary credits dialog. set_email_hook() Sets a global callback to be called when a user activates an email link in the dialog. set_license() Set the license text. set_logo() Set the program logo set_logo_icon_name() Set logo to be displayed, by name. set_translator_credits() Sets the translator credits string. set_url_hook() Sets a global callback for all URL links in the dialog. set_version() Set the version of your program set_website() Set the program's website. set_website_label() Sets the label to be used for the website link.