org.gnu.gtk
public class AboutDialog extends Dialog
Gtk's AboutDialog 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.
Constructor Summary | |
---|---|
AboutDialog(Handle handle)
Internal constructor. | |
AboutDialog()
Create a new AboutDialog. |
Method Summary | |
---|---|
static AboutDialog | getAboutDialog(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
String[] | getArtists()
Gets the strings which are displayed in the documenters tab of the
secondary credits dialog. |
String[] | getAuthors()
Gets the strings which are displayed in the authors tab of the secondary
credits dialog. |
String | getComments()
Gets the comments string displayed in the about dialog. |
String | getCopyright()
Gets the copyright string displayed in the about dialog. |
String[] | getDocumenters()
Gets the strings which are displayed in the artists tab of the secondary
credits dialog. |
String | getLicense()
Gets the license information displayed in the secondary license dialog. |
Pixbuf | getLogo()
Gets the pixbuf displayed as logo in the about dialog. |
String | getLogoIconName()
Gets the icon name displayed as logo in the about dialog. |
String | getName()
Gets the name displayed in the about dialog. |
String | getTranslatorCredits()
Gets the translator credits string which is displayed in the translators
tab of the secondary credits dialog. |
String | getVersion()
Gets the version string displayed in the about dialog. |
String | getWebsite()
Gets the URL used for the website link. |
String | getWebsiteLabel()
Sets the label to be used for the website link. |
boolean | getWrapLicense()
Gets whether the license text will be automatically wrapped.
|
void | setArtists(String[] val)
Sets the strings which are displayed in the documenters tab of the
secondary credits dialog. |
String[] | setArtists()
Gets the strings which are displayed in the documenters tab of the
secondary credits dialog.
|
void | setAuthors(String[] val)
Sets the strings which are displayed in the authors tab of the secondary
credits dialog. |
void | setComments(String val)
Sets the comments string to display in the about dialog. |
void | setCopyright(String val)
Sets the copyright string to display in the about dialog. |
void | setDocumenters(String[] val)
Sets the strings which are displayed in the artists tab of the secondary
credits dialog. |
String[] | setDocumenters()
Gets the strings which are displayed in the artists tab of the secondary
credits dialog.
|
static void | setEmailHook(AboutDialogActivateLinkMethod method)
Set a handler object to be used whenever the user activates an Email link
in the authors, documenters or artists sections. |
void | setLicense(String val)
Sets the license information to be displayed in the secondary license
dialog. |
void | setLogo(Pixbuf val)
Sets the pixbuf to be displayed as logo in the about dialog. |
void | setLogoIconName(String val)
Sets the icon name displayed as logo in the about dialog. |
void | setName(String val)
Sets the name to display in the about dialog. |
void | setTranslatorCredits(String val)
Sets the translator credits string which is displayed in the translators
tab of the secondary credits dialog.
|
static void | setURLHook(AboutDialogActivateLinkMethod method)
Set a handler object to be used whenever the user activates a URL link in
the authors, documenters or artists sections. |
void | setVersion(String val)
Sets the version string to display in the about dialog. |
void | setWebsite(String website)
Sets the URL to use for the website link.
|
String | setWebsite()
Gets the URL used for the website link.
|
void | setWebsiteLabel(String val)
Sets the label to be used for the website link. |
void | setWrapLicense(boolean wrapLicense)
Sets whether the license text is automatically wrapped.
|
Returns: true if the license text will be wrapped automatically
Deprecated: Use getArtists instead.
Gets the strings which are displayed in the documenters tab of the secondary credits dialog.Deprecated: Use getDocumenters instead.
Gets the strings which are displayed in the artists tab of the secondary credits dialog.Parameters: val The license information or NULL.
Parameters: website A URL string starting with "http://".
Deprecated: Use getWebsite.
Gets the URL used for the website link.Parameters: wrapLicense