This class takes care of handling application and library
initialization and command line parsing.
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()
gnome_program_get
protected static final Handle gnome_program_get()
gnome_program_get_app_id
protected static final String gnome_program_get_app_id(Handle program)
gnome_program_get_app_version
protected static final String gnome_program_get_app_version(Handle program)
gnome_program_get_human_readable_name
protected static final String gnome_program_get_human_readable_name(Handle program)
gnome_program_get_type
protected static final int gnome_program_get_type()
gnome_program_module_load
protected static final Handle gnome_program_module_load(String modName)
gnome_program_module_register
protected static final void gnome_program_module_register(Handle moduleInfo)
gnome_program_module_registered
protected static final boolean gnome_program_module_registered(Handle moduleInfo)
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.