GtkAboutDialog
Display information about an application
The #GtkAboutDialog offers a simple way to display information about
a program like its logo, name, copyright, website and license. It is
also possible to give credits to the authors, documenters, 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 gtk_about_dialog_set_email_hook()
and gtk_about_dialog_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.
To make constructing a #GtkAboutDialog as convenient as possible, you can
use the function gtk_show_about_dialog() which constructs and shows a dialog
and keeps it around so that it can be shown again.
Note that GTK+ sets a default title of _("About %s")
on the dialog window (where %s is replaced by the name of the
application, but in order to ensure proper translation of the title,
applications should set the title property explicitly when constructing
a #GtkAboutDialog, as shown in the following example:
gtk_show_about_dialog (NULL,
"program-name", "ExampleCode",
"logo", example_logo,
"title" _("About ExampleCode"),
NULL);
Note that prior to GTK+ 2.12, the #GtkAboutDialog:program-name property
was called "name". This was changed to avoid the conflict with the
#GtkWidget:name property.
#GTK_STOCK_ABOUT
The GtkAboutDialog struct contains
only private fields and should not be directly accessed.
@Returns:
@about:
@Returns:
@about:
@name:
@about:
@Returns:
@about:
@name:
@about:
@Returns:
@about:
@version:
@about:
@Returns:
@about:
@copyright:
@about:
@Returns:
@about:
@comments:
@about:
@Returns:
@about:
@license:
@about:
@Returns:
@about:
@wrap_license:
@about:
@Returns:
@about:
@website:
@about:
@Returns:
@about:
@website_label:
@about:
@Returns:
@about:
@authors:
@about:
@Returns:
@about:
@artists:
@about:
@Returns:
@about:
@documenters:
@about:
@Returns:
@about:
@translator_credits:
@about:
@Returns:
@about:
@logo:
@about:
@Returns:
@about:
@icon_name:
The type of a function which is called when a URL or email
link is activated.
@about: the #GtkAboutDialog in which the link was activated
@link_: the URL or email address to which the activated link points
@data: user data that was passed when the function was registered
with gtk_about_dialog_set_email_hook() or
gtk_about_dialog_set_url_hook()
@func:
@data:
@destroy:
@Returns:
@func:
@data:
@destroy:
@Returns:
@parent:
@first_property_name:
@Varargs: