b2d042d6a5
svn path=/trunk/gtk-sharp/; revision=134155
194 lines
8 KiB
XML
194 lines
8 KiB
XML
<Type Name="AppLaunchContext" FullName="GLib.AppLaunchContext">
|
|
<TypeSignature Language="C#" Value="public class AppLaunchContext : GLib.Object" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gio-sharp</AssemblyName>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>GLib.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<summary>Integrating the launch with the launching application. This is used to handle for instance startup notification and launching the new application on the same screen as the launching window.</summary>
|
|
<remarks>To be added.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public AppLaunchContext ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Creates a new application launch context.</summary>
|
|
<remarks>This is not normally used, instead you instantiate a subclass of this, such as <see cref="T:Gdk.AppLaunchContext" />.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="protected AppLaunchContext (GLib.GType gtype);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.Obsolete</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<Parameters>
|
|
<Parameter Name="gtype" Type="GLib.GType" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="gtype">To be added.</param>
|
|
<summary>To be added.</summary>
|
|
<remarks>To be added.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public AppLaunchContext (IntPtr raw);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="raw">To be added.</param>
|
|
<summary>To be added.</summary>
|
|
<remarks>To be added.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetDisplay">
|
|
<MemberSignature Language="C#" Value="public string GetDisplay (GLib.AppInfo info, GLib.List files);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="info" Type="GLib.AppInfo" />
|
|
<Parameter Name="files" Type="GLib.List" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="info">A <see cref="T:GLib.AppInfo" />.</param>
|
|
<param name="files">A <see cref="T:GLib.List" /> of <see cref="T:GLib.File" />.</param>
|
|
<summary>Gets the display string for the display.</summary>
|
|
<returns>A display string for the display.</returns>
|
|
<remarks>This is used to ensure new applications are started on the same display as the launching application.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetStartupNotifyId">
|
|
<MemberSignature Language="C#" Value="public string GetStartupNotifyId (GLib.AppInfo info, GLib.List files);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="info" Type="GLib.AppInfo" />
|
|
<Parameter Name="files" Type="GLib.List" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="info">A <see cref="T:GLib.AppInfo" />.</param>
|
|
<param name="files">A <see cref="T:GLib.List" /> of <see cref="T:GLib.File" />.</param>
|
|
<summary>Initiates startup notification for the application.</summary>
|
|
<returns>The DESKTOP_STARTUP_ID for the launched operation, if supported. </returns>
|
|
<remarks>Startup notification IDs are defined in the FreeDesktop.Org Startup Notifications standard (http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt).</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GType">
|
|
<MemberSignature Language="C#" Value="public static 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="LaunchFailed">
|
|
<MemberSignature Language="C#" Value="public void LaunchFailed (string startup_notify_id);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="startup_notify_id" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="startup_notify_id">The startup notification id that was returned by <see cref="M:GLib.AppLaunchContext.GetStartupNotifyId" />.</param>
|
|
<summary>Called when an application has failed to launch.</summary>
|
|
<remarks>Called when an application has failed to launch, so that it can cancel the application startup notification started in <see cref="M:AppLaunchContext.GetStartupNotifyId" />.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="OnGetDisplay">
|
|
<MemberSignature Language="C#" Value="protected virtual string OnGetDisplay (GLib.AppInfo info, GLib.List files);" />
|
|
<MemberType>Method</MemberType>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetDisplay", Type=typeof(GLib.AppLaunchContext))</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="info" Type="GLib.AppInfo" />
|
|
<Parameter Name="files" Type="GLib.List" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="info">To be added.</param>
|
|
<param name="files">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="OnGetStartupNotifyId">
|
|
<MemberSignature Language="C#" Value="protected virtual string OnGetStartupNotifyId (GLib.AppInfo info, GLib.List files);" />
|
|
<MemberType>Method</MemberType>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetStartupNotifyId", Type=typeof(GLib.AppLaunchContext))</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<ReturnValue>
|
|
<ReturnType>System.String</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="info" Type="GLib.AppInfo" />
|
|
<Parameter Name="files" Type="GLib.List" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="info">To be added.</param>
|
|
<param name="files">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="OnLaunchFailed">
|
|
<MemberSignature Language="C#" Value="protected virtual void OnLaunchFailed (string startup_notify_id);" />
|
|
<MemberType>Method</MemberType>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideLaunchFailed", Type=typeof(GLib.AppLaunchContext))</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="startup_notify_id" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="startup_notify_id">To be added.</param>
|
|
<summary>To be added.</summary>
|
|
<remarks>To be added.</remarks>
|
|
<since version="Gtk# 2.14" />
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|