org.gnu.gnome

Class Program

public class Program extends Struct

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()
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)
Initialize the gnome application specifying the directories use by the app.

initGnome

public static Program initGnome(String appId, String appVersion, String[] argv)
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)
Initialize the gnome application specifying the directories used by the app.

initGnomeUI

public static Program initGnomeUI(String appId, String appVersion, String[] argv)
Initialize the gnome application using the default directories for the app.