org.gnu.gnome

Class Program

public class Program extends Struct

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 have an equivalent in java-gnome 4.0; have a look for org.gnome.gnome.Program.

This class takes care of handling application and library initialization and command line parsing.
Method Summary
StringgetAppID()
StringgetName()
static TypegetType()
Retrieve the runtime type used by the GLib library.
StringgetVersion()
static PrograminitGnome(String appId, String appVersion, String[] argv, String prefix, String sysconfdir, String datadir, String libdir)
Initialize the gnome application specifying the directories use by the app.
static PrograminitGnome(String appId, String appVersion, String[] argv)
Initialize the gnome application using the default directories for the app.
static PrograminitGnomeUI(String appId, String appVersion, String[] argv, String prefix, String sysconfdir, String datadir, String libdir)
Initialize the gnome application specifying the directories used by the app.
static PrograminitGnomeUI(String appId, String appVersion, String[] argv)
Initialize the gnome application using the default directories for the app.

Method Detail

getAppID

public String getAppID()

getName

public String getName()

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

getVersion

public String getVersion()

initGnome

public static Program initGnome(String appId, String appVersion, String[] argv, String prefix, String sysconfdir, String datadir, String libdir)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Initialize the gnome application specifying the directories use by the app.

initGnome

public static Program initGnome(String appId, String appVersion, String[] argv)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Initialize the gnome application using the default directories for the app.

initGnomeUI

public static Program initGnomeUI(String appId, String appVersion, String[] argv, String prefix, String sysconfdir, String datadir, String libdir)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Initialize the gnome application specifying the directories used by the app.

initGnomeUI

public static Program initGnomeUI(String appId, String appVersion, String[] argv)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Initialize the gnome application using the default directories for the app.