AppInfo


Object Hierarchy:

GLib.AppInfo GLib.AppInfo GLib.AppInfo GLib.Object GLib.Object GLib.Object->GLib.AppInfo

Description:

[ CCode ( type_id = "g_app_info_get_type ()" ) ]
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: