GtkSharp/doc/en/GLib/AppInfo.xml

283 lines
10 KiB
XML
Raw Normal View History

<Type Name="AppInfo" FullName="GLib.AppInfo">
<TypeSignature Language="C#" Value="public interface AppInfo : GLib.IWrapper" />
<AssemblyInfo>
<AssemblyName>gio-sharp</AssemblyName>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>This interface provides application information and launch contexts. See <see cref="T:GLib.AppInfoAdapter" /> for a concrete implementation and usage.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 2.14" />
</Docs>
<Members>
<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>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version="Gtk# 2.14" />
</Docs>
</Member>
<Member MemberName="CanRemoveSupportsType">
<MemberSignature Language="C#" Value="public bool CanRemoveSupportsType { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</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="Description">
<MemberSignature Language="C#" Value="public string Description { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>An human-readable description of an installed application.</summary>
<value>A string containing a description of the application, or null if none.</value>
<remarks>The following code snippet:
<example><code lang="C#">
AppInfo app_info = AppInfoAdapter.GetDefaultForType ("image/jpeg", false);
Console.WriteLine ("{0}:\t{1}", app_info.Name, app_info.Description);
</code></example>
produces the following output (depending on your installation):
<para>
Eye of Gnome: Browse and rotate images
</para></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>
<summary>The executable's name for the installed application.</summary>
<value>A string containing the AppInfo's application binary's name.</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>
<summary>The <see cref="T:GLib.Icon" /> for the application.</summary>
<value>The default <see cref="T:GLib.Icon" /> for the application.</value>
<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>
<summary>The ID of an application.</summary>
<value>A string containing the application's ID.</value>
<remarks>An id si s 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>
<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>
<param name="files">To be added.</param>
<param name="launch_context">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="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>
<param name="uris">To be added.</param>
<param name="launch_context">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="Name">
<MemberSignature Language="C#" Value="public string Name { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The name of the installed application.</summary>
<value>A <see cref="T:System.String" /> containing the name of the application.</value>
<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>
<param name="content_type">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="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>
<param name="extension">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="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>
<param name="content_type">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="ShouldShow">
<MemberSignature Language="C#" Value="public bool ShouldShow { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</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="SupportsFiles">
<MemberSignature Language="C#" Value="public bool SupportsFiles { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</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="SupportsUris">
<MemberSignature Language="C#" Value="public bool SupportsUris { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</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>
</Members>
</Type>