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

String
getAppID()
String
getName()
static Type
getType()
Retrieve the runtime type used by the GLib library.
String
getVersion()
static Program
initGnome(String appId, String appVersion, String[] argv)
Initialize the gnome application using the default directories for the app.
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.
static Program
initGnomeUI(String appId, String appVersion, String[] argv)
Initialize the gnome application using the default directories for the app.
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.

Method Details

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)
Initialize the gnome application using the default directories for the app.

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.

initGnomeUI

public static Program initGnomeUI(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.