org.gnu.gtk
public class AboutDialog extends Dialog
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.AboutDialog
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
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.
|
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal constructor.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a new AboutDialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the strings which are displayed in the documenters tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the strings which are displayed in the authors tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the comments string displayed in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the copyright string displayed in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the strings which are displayed in the artists tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the license information displayed in the secondary license dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the pixbuf displayed as logo in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the icon name displayed as logo in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the name displayed in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the translator credits string which is displayed in the translators tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the version string displayed in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the URL used for the website link.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the label to be used for the website link. It defaults to the website URL.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets whether the license text will be automatically wrapped.Returns: true if the license text will be wrapped automatically
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the strings which are displayed in the documenters tab of the secondary credits dialog.Deprecated: Use getArtists instead. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the strings which are displayed in the documenters tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the strings which are displayed in the authors tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the comments string to display in the about dialog. This should be a short string of one or two lines.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the copyright string to display in the about dialog. This should be a short string of one or two lines.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the strings which are displayed in the artists tab of the secondary credits dialog.Deprecated: Use getDocumenters instead. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the strings which are displayed in the artists tab of the secondary credits dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Set a handler object to be used whenever the user activates an Email link in the authors, documenters or artists sections.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the license information to be displayed in the secondary license dialog. If license is null, the license button is hidden.Parameters: val The license information or NULL.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the pixbuf to be displayed as logo in the about dialog. If it is null, the default window icon set with Window will be used.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the icon name displayed as logo in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the name to display in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the translator credits string which is displayed in the translators tab of the secondary credits dialog. The intended use for this string is to display the translator of the language which is currently used in the user interface. It is a good idea to use the customary msgid "translator-credits" for this purpose, since translators will already know the purpose of that msgid, and since AboutDialog will detect if "translator-credits" is untranslated and hide the tab.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Set a handler object to be used whenever the user activates a URL link in the authors, documenters or artists sections.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the version string to display in the about dialog.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the URL to use for the website link.Parameters: website A URL string starting with "http://".
Deprecated: Use getWebsite. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Gets the URL used for the website link.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the label to be used for the website link. It defaults to the website URL.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether the license text is automatically wrapped.Parameters: wrapLicense