AppInfo


Object Hierarchy:

Object hierarchy for AppInfo

Description:

public interface AppInfo : Object

Example: AppInfo:

public static int main (string[] args) {
try {
AppInfo appinfo = AppInfo.get_default_for_type ("text/x-vala", true);
print ("%s\n", appinfo.supports_files ().to_string ());
print ("%s\n", appinfo.supports_uris ().to_string ());
print ("%s\n", appinfo.get_commandline ());
print ("%s\n", appinfo.get_name ());
appinfo.launch (null, null);
} catch (Error e) {
print ("Error: %s\n", e.message);
}
return 0;
}

valac --pkg gio-2.0 GLib.AppInfo.vala


Namespace: GLib
Package: gio-2.0

Content:

Static methods:

Methods:

Inherited Members: