gio-sharp
GLib.GInterfaceAdapter
GLib.AppInfo
GLib.IWrapper
: an implementation of the interface.
To be added.
Constructor
To be added.
To be added.
Constructor
To be added.
To be added.
To be added.
Constructor
To be added.
To be added.
To be added.
Method
System.Boolean
To be added.
Adds a content type to the application.
Always returns True. Throw a if something went wrong.
Adds a content type to the application information to indicate the application is capable of opening files with the given content type.
This method always returns True, or throw a if something went wrong.
Property
GLib.List
A list of all the applications currently registered on this system.
A of
For desktop files, this includes applications that have NoDisplay=true set or are excluded from display by means of OnlyShowIn or NotShowIn. See . The returned list does not include applications which have the Hidden key set.
Property
System.Boolean
If a supported content type can be removed from an application.
True if it is possible to remove supported content types from the application, False if not.
To be added.
Method
GLib.AppInfo
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Property
System.String
An human-readable description of an installed application.
A string containing a description of the application, or null if none.
To be added.
Method
GLib.AppInfo
To be added.
To be added.
To be added.
Method
System.Boolean
To be added.
To be added.
To be added.
To be added.
Property
System.String
The executable's name for the installed application.
A string containing the AppInfo's application binary's name.
To be added.
Method
GLib.AppInfo[]
The content type to find a for.
Gets an array of all for a given content type.
An array of for given content_type, or null on error.
To be added.
Method
GLib.AppInfo
The content type to find a for.
If True, the is expected to support URIs.
Gets the that correspond to a given content type.
A for given content_type or null on error.
To be added.
Method
GLib.AppInfo
A string containing a URI scheme.
Gets the default application for launching applications using this URI scheme.
A for given uri_scheme or null on error.
A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip".
Method
GLib.AppInfo
To be added.
To be added.
To be added.
To be added.
Method
GLib.AppInfo
To be added.
To be added.
To be added.
To be added.
To be added.
Property
GLib.GType
To be added.
To be added.
To be added.
Property
System.IntPtr
To be added.
To be added.
To be added.
Property
GLib.Icon
The for the application.
The default for the application.
To be added.
Property
System.String
The ID of an application.
A string containing the application's ID.
An id is a string that identifies the application. The exact format of the id is platform depenedent. For instance, on Unix, this is the desktop file id from the xdg menu specification.
Property
GLib.AppInfoImplementor
To be added.
To be added.
To be added.
Method
System.Boolean
A of objects, or null to launch the application without arguments.
An , or null.
Launches the application.
Always returns True. Throws a if something went wrong.
Launches the application. Passes files to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). Throws a on error.
To lauch the application without arguments pass a null files list.
Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this.
Some URIs can be changed when passed through a (for instance unsupported uris with strange formats like mailto:), so if you have a textual uri you want to pass in as argument, consider using instead.
Method
System.Boolean
The uri to show.
An optional , or null.
Utility function that launches the default application registered to handle the specified uri.
Always returns True. Throws a if something went wrong.
Synchronous I/O is done on the uri to detect the type of the file if required.
Method
System.Boolean
A of containing URIs to launch, or null.
A , or null.
Launches the application.
Always returns True. Throws a if something went wrong.
Launches the application. Passes uris to the launched application as arguments, using the optional launch_context to get information about the details of the launcher (like what screen it is on). On error, throws a
To lauch the application without arguments pass a null uris list.
Note that even if the launch is successful the application launched can fail to start if it runs into problems during startup. There is no way to detect this.
Property
System.String
The name of the installed application.
A containing the name of the application.
To be added.
Method
System.Boolean
A containing a content type. On Unix, content types are mimetypes, so "image/jpeg" is a valid content type.
Removes a supported type from an application, if possible.
Always returns True. Throws a if something went wrong.
This method always returns True, but throws on any error. Checking first will avoid some exceptions, but that doesn't mean it won't throw at all.
Method
System.Boolean
A containing the file extension (without the dot).
Sets the application as the default handler for the given file extension.
Always returns True. Throws a if something went wrong.
This method always returns True, or throw a if something went wrong.
Method
System.Boolean
A containing the content type.
Sets the application as the default handler for a given type
Always returns True. Throws a if something went wrong.
This method always returns True, or throw a if something went wrong.
Property
System.Boolean
If the application info should be shown in menus that list available applications.
True if the application should be shown, False otherwise.
To be added.
Property
System.Boolean
If the application accepts files as arguments.
True if the application supports files.
To be added.
Property
System.Boolean
If the application supports reading files and directories from URIs.
True if the application supports URIs.
To be added.