|
java-gnome version 4.0.7 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
java.lang.Objectorg.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Object
org.gnome.gtk.Widget
org.gnome.gtk.Container
org.gnome.gtk.Bin
org.gnome.gtk.Window
org.gnome.gtk.Dialog
org.gnome.gtk.AboutDialog
public class AboutDialog
A Dialog which presents information about a program.
The AboutDialog presents simple
meta information including program name, a
short description,
copyright info, and then lists of
authors, documenters, and translators of
responsible for the program.
As a convention, every GNOME application has a MenuItem labelled "About" in the main "Help" menu.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gnome.gtk.Dialog |
|---|
Dialog.RESPONSE |
| Nested classes/interfaces inherited from class org.gnome.gtk.Window |
|---|
Window.CONFIGURE_EVENT, Window.DELETE_EVENT |
| Nested classes/interfaces inherited from class org.gnome.gtk.Widget |
|---|
Widget.BUTTON_PRESS_EVENT, Widget.BUTTON_RELEASE_EVENT, Widget.ENTER_NOTIFY_EVENT, Widget.EXPOSE_EVENT, Widget.FOCUS_IN_EVENT, Widget.FOCUS_OUT_EVENT, Widget.HIDE, Widget.KEY_PRESS_EVENT, Widget.KEY_RELEASE_EVENT, Widget.LEAVE_NOTIFY_EVENT, Widget.UNMAP_EVENT, Widget.VISIBILITY_NOTIFY_EVENT |
| Constructor Summary | |
|---|---|
AboutDialog()
Instantiate a new AboutDialog. |
|
| Method Summary | |
|---|---|
void |
setAuthors(java.lang.String[] authors)
Add a list of authors to the AboutDialog. |
void |
setComments(java.lang.String text)
Set a simple description of the program. |
void |
setCopyright(java.lang.String text)
Specify the copyright holder of the application. |
void |
setLogo(Pixbuf icon)
Set the image to be displayed in the AboutDialog. |
void |
setProgramName(java.lang.String name)
Specify the name of the application. |
void |
setVersion(java.lang.String version)
Set the version number of this release. |
| Methods inherited from class org.gnome.gtk.Dialog |
|---|
add, addButton, addButton, connect, run |
| Methods inherited from class org.gnome.gtk.Window |
|---|
connect, connect, getHeight, getMaximized, getPositionX, getPositionY, getScreen, getWidth, move, present, resize, setDecorated, setDefaultSize, setFullscreen, setGravity, setIcon, setKeepAbove, setKeepBelow, setMaximize, setModal, setPosition, setResizable, setSkipPagerHint, setSkipTaskbarHint, setStick, setTitle, setTransientFor, setTypeHint |
| Methods inherited from class org.gnome.gtk.Bin |
|---|
getChild |
| Methods inherited from class org.gnome.gtk.Container |
|---|
getChildren, remove, setBorderWidth |
| Methods inherited from class org.gnome.gtk.Widget |
|---|
activate, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, getAllocation, getHasFocus, getParent, getRequisition, getToplevel, getWindow, grabDefault, grabFocus, hide, modifyBackground, modifyText, setCanFocus, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll |
| Methods inherited from class org.freedesktop.bindings.Proxy |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AboutDialog()
| Method Detail |
|---|
public void setAuthors(java.lang.String[] authors)
about.setAuthors(new String[] {
"Andrew Cowie <andrew@operationaldynamics.com>",
"Srichand Pendyala <srichand.pendyala@gmail.com>",
"Vreixo Formoso Lopes <metalpain2002@yahoo.es>",
"Sebastian Mancke <s.mancke@tarent.de>"
});
It is indeed tradition for authors of Open Source Software to include
their email addresses when identifying their work.
public void setComments(java.lang.String text)
public void setCopyright(java.lang.String text)
setCopyright("Copyright (c) 2008 ACME, Inc");
public void setLogo(Pixbuf icon)
Gtk.setDefaultIcon().
public void setProgramName(java.lang.String name)
The Epiphany Web Browser", whereas
others will use the project name, for example "epiphany".
This will be shown prominently in a large font as the title of the
Dialog.
public void setVersion(java.lang.String version)
|
![]() java-gnome |
||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||