2009-01-07 21:12:08 +00:00
<Type Name= "AppInfoAdapter" FullName= "GLib.AppInfoAdapter" >
<TypeSignature Language= "C#" Value= "public class AppInfoAdapter : GLib.GInterfaceAdapter, GLib.AppInfo, GLib.IWrapper" />
<AssemblyInfo >
<AssemblyName > gio-sharp</AssemblyName>
</AssemblyInfo>
<Base >
<BaseTypeName > GLib.GInterfaceAdapter</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > GLib.AppInfo</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Docs >
2009-01-08 15:28:17 +00:00
<summary >
<see cref= "T:GLib.AppInfoAdapter" /> : an implementation of the <see cref= "T:GLib.AppInfo" /> interface.</summary>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public AppInfoAdapter (IntPtr handle);" />
<MemberType > Constructor</MemberType>
<Parameters >
<Parameter Name= "handle" Type= "System.IntPtr" />
</Parameters>
<Docs >
<param name= "handle" > To be added.</param>
<summary > To be added.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "AddSupportsType" >
<MemberSignature Language= "C#" Value= "public bool AddSupportsType (string content_type);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "content_type" Type= "System.String" />
</Parameters>
<Docs >
<param name= "content_type" > To be added.</param>
2009-01-08 15:28:17 +00:00
<summary > Adds a content type to the application.</summary>
<returns > Always returns True. Throw a <see cref= "T:GLib.GException" /> if something went wrong.</returns>
<remarks >
<para > Adds a content type to the application information to indicate the application is capable of opening files with the given content type.</para>
<para >
This method always returns True, or throw a <see cref= "T:GLib.GException" /> if something went wrong.
</para>
</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "CanRemoveSupportsType" >
2009-01-08 15:28:01 +00:00
<MemberSignature Language= "C#" Value= "public bool CanRemoveSupportsType { get; }" />
<MemberType > Property</MemberType>
2009-01-07 21:12:08 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > If a supported content type can be removed from an application. </summary>
<value > True if it is possible to remove supported content types from the application, False if not.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "CreateFromCommandline" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo CreateFromCommandline (string commandline, string application_name, GLib.AppInfoCreateFlags flags);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "commandline" Type= "System.String" />
<Parameter Name= "application_name" Type= "System.String" />
<Parameter Name= "flags" Type= "GLib.AppInfoCreateFlags" />
</Parameters>
<Docs >
<param name= "commandline" > To be added.</param>
<param name= "application_name" > To be added.</param>
<param name= "flags" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Description" >
<MemberSignature Language= "C#" Value= "public string Description { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > An human-readable description of an installed application.</summary>
<value > A string containing a description of the application, or null if none.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Dup" >
<MemberSignature Language= "C#" Value= "public GLib.AppInfo Dup ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Equal" >
<MemberSignature Language= "C#" Value= "public bool Equal (GLib.AppInfo appinfo2);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "appinfo2" Type= "GLib.AppInfo" />
</Parameters>
<Docs >
<param name= "appinfo2" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Executable" >
<MemberSignature Language= "C#" Value= "public string Executable { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > The executable's name for the installed application.</summary>
<value > A string containing the AppInfo's application binary's name.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
2009-05-14 18:32:22 +00:00
<Member MemberName= "GetAll" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo[] GetAll ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
2009-01-07 21:12:08 +00:00
<Member MemberName= "GetAllForType" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo[] GetAllForType (string content_type);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo[]</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "content_type" Type= "System.String" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "content_type" > The content type to find a <see cref= "T:GLib.AppInfo" /> for.</param>
<summary > Gets an array of all <see cref= "T:GLib.AppInfo" /> for a given content type.
</summary>
<returns > An array of <see cref= "T:GLib.AppInfo" /> for given content_type, or null on error.</returns>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "GetDefaultForType" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo GetDefaultForType (string content_type, bool must_support_uris);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "content_type" Type= "System.String" />
<Parameter Name= "must_support_uris" Type= "System.Boolean" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "content_type" > The content type to find a <see cref= "T:GLib.AppInfo" /> for.</param>
<param name= "must_support_uris" > If True, the <see cref= "GLib.AppInfo" /> is expected to support URIs.</param>
<summary > Gets the <see cref= "T:GLib.AppInfo" /> that correspond to a given content type.</summary>
<returns > A <see cref= "T:GLib.AppInfo" /> for given content_type or null on error.</returns>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "GetDefaultForUriScheme" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo GetDefaultForUriScheme (string uri_scheme);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri_scheme" Type= "System.String" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "uri_scheme" > A string containing a URI scheme.</param>
<summary > Gets the default application for launching applications using this URI scheme.</summary>
<returns > A <see cref= "T:GLib.AppInfo" /> for given uri_scheme or null on error. </returns>
<remarks > A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip".</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "GetObject" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo GetObject (GLib.Object obj);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "obj" Type= "GLib.Object" />
</Parameters>
<Docs >
<param name= "obj" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "GetObject" >
<MemberSignature Language= "C#" Value= "public static GLib.AppInfo GetObject (IntPtr handle, bool owned);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.AppInfo</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "handle" Type= "System.IntPtr" />
<Parameter Name= "owned" Type= "System.Boolean" />
</Parameters>
<Docs >
<param name= "handle" > To be added.</param>
<param name= "owned" > To be added.</param>
<summary > To be added.</summary>
<returns > To be added.</returns>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public override GLib.GType GType { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Handle" >
<MemberSignature Language= "C#" Value= "public override IntPtr Handle { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added.</summary>
<value > To be added.</value>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Icon" >
<MemberSignature Language= "C#" Value= "public GLib.Icon Icon { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.Icon</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > The <see cref= "T:GLib.Icon" /> for the application.</summary>
<value > The default <see cref= "T:GLib.Icon" /> for the application.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Id" >
<MemberSignature Language= "C#" Value= "public string Id { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > The ID of an application.</summary>
<value > A string containing the application's ID.</value>
<remarks > 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.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Launch" >
<MemberSignature Language= "C#" Value= "public bool Launch (GLib.List files, GLib.AppLaunchContext launch_context);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "files" Type= "GLib.List" />
<Parameter Name= "launch_context" Type= "GLib.AppLaunchContext" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "files" > A <see cref= "T:GLib.List" /> of <see cref= "T:GLib.File" /> objects, or null to launch the application without arguments.</param>
<param name= "launch_context" > An <see cref= "T:GLib.AppLauchContext" /> , or null.</param>
<summary > Launches the application.</summary>
<returns > Always returns True. Throws a <see cref= "T:GLib.GException" /> if something went wrong.</returns>
<remarks >
<para > 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 <see cref= "T:GLib.GException" /> on error.</para>
<para > To lauch the application without arguments pass a null files list.</para>
<para > 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.</para>
<para > Some URIs can be changed when passed through a <see cref= "T:GLib.File" /> (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 <see cref= "M:GLib.AppInfo.LaunchUris" /> instead.</para>
</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "LaunchDefaultForUri" >
<MemberSignature Language= "C#" Value= "public static bool LaunchDefaultForUri (string uri, GLib.AppLaunchContext launch_context);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
<Parameter Name= "launch_context" Type= "GLib.AppLaunchContext" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "uri" > The uri to show.</param>
<param name= "launch_context" > An optional <see cref= "T:GLib.AppLaunchContext" /> , or null. </param>
<summary > Utility function that launches the default application registered to handle the specified uri.</summary>
<returns > Always returns True. Throws a <see cref= "T:GLib.GException" /> if something went wrong.</returns>
<remarks > Synchronous I/O is done on the uri to detect the type of the file if required.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "LaunchUris" >
<MemberSignature Language= "C#" Value= "public bool LaunchUris (GLib.List uris, GLib.AppLaunchContext launch_context);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uris" Type= "GLib.List" />
<Parameter Name= "launch_context" Type= "GLib.AppLaunchContext" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "uris" > A <see cref= "T:GLib.List" /> of <see cref= "T:System.String" /> containing URIs to launch, or null.</param>
<param name= "launch_context" > A <see cref= "T:GLib.AppLaunchContext" /> , or null.</param>
<summary > Launches the application.</summary>
<returns > Always returns True. Throws a <see cref= "T:GLib.GException" /> if something went wrong.</returns>
<remarks >
<para > 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 <see cref= "T:GLib.GException" /> </para>
<para > To lauch the application without arguments pass a null uris list.</para>
<para > 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.</para>
</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "Name" >
<MemberSignature Language= "C#" Value= "public string Name { get; }" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > The name of the installed application.</summary>
<value > A <see cref= "T:System.String" /> containing the name of the application.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "RemoveSupportsType" >
<MemberSignature Language= "C#" Value= "public bool RemoveSupportsType (string content_type);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "content_type" Type= "System.String" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "content_type" > A <see cref= "T:System.String" /> containing a content type. On Unix, content types are mimetypes, so "image/jpeg" is a valid content type.</param>
<summary > Removes a supported type from an application, if possible.</summary>
<returns > Always returns True. Throws a <see cref= "T:GLib.GException" /> if something went wrong.</returns>
<remarks > This method always returns True, but throws on any error. Checking <see cref= "M:GLib.AppInfo.CanRemoveSupportsType" /> first will avoid some exceptions, but that doesn't mean it won't throw at all.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "SetAsDefaultForExtension" >
<MemberSignature Language= "C#" Value= "public bool SetAsDefaultForExtension (string extension);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "extension" Type= "System.String" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "extension" > A <see cref= "T:System.String" /> containing the file extension (without the dot).</param>
<summary > Sets the application as the default handler for the given file extension. </summary>
<returns > Always returns True. Throws a <see cref= "T:GLib.GException" /> if something went wrong.</returns>
<remarks > This method always returns True, or throw a <see cref= "T:GLib.GException" /> if something went wrong.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "SetAsDefaultForType" >
<MemberSignature Language= "C#" Value= "public bool SetAsDefaultForType (string content_type);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "content_type" Type= "System.String" />
</Parameters>
<Docs >
2009-01-08 15:28:17 +00:00
<param name= "content_type" > A <see cref= "T:System.String" /> containing the content type.</param>
<summary > Sets the application as the default handler for a given type</summary>
<returns > Always returns True. Throws a <see cref= "T:Glib.GException" /> if something went wrong.</returns>
<remarks > This method always returns True, or throw a <see cref= "T:GLib.GException" /> if something went wrong.</remarks>
2009-01-07 21:12:08 +00:00
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "ShouldShow" >
2009-01-08 10:34:46 +00:00
<MemberSignature Language= "C#" Value= "public bool ShouldShow { get; }" />
<MemberType > Property</MemberType>
2009-01-07 21:12:08 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > If the application info should be shown in menus that list available applications.</summary>
<value > True if the application should be shown, False otherwise.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "SupportsFiles" >
2009-01-08 10:34:46 +00:00
<MemberSignature Language= "C#" Value= "public bool SupportsFiles { get; }" />
<MemberType > Property</MemberType>
2009-01-07 21:12:08 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > If the application accepts files as arguments.</summary>
<value > True if the application supports files.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName= "SupportsUris" >
2009-01-08 10:34:46 +00:00
<MemberSignature Language= "C#" Value= "public bool SupportsUris { get; }" />
<MemberType > Property</MemberType>
2009-01-07 21:12:08 +00:00
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2009-01-08 15:28:17 +00:00
<summary > If the application supports reading files and directories from URIs.</summary>
<value > True if the application supports URIs.</value>
2009-01-07 21:12:08 +00:00
<remarks > To be added.</remarks>
<since version= "Gtk# 2.14" />
</Docs>
</Member>
</Members>
2009-05-14 18:32:22 +00:00
</Type>