2003-07-17 06:35:10 +00:00
<Type Name= "Help" FullName= "Gnome.Help" >
2003-08-18 04:28:10 +00:00
<TypeSignature Language= "C#" Value= "public class Help" Maintainer= "John Luke" />
2003-07-17 06:35:10 +00:00
<AssemblyInfo >
<AssemblyName > gnome-sharp</AssemblyName>
2003-07-21 00:13:00 +00:00
<AssemblyPublicKey />
2003-07-17 06:35:10 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
<AssemblyCulture > neutral</AssemblyCulture>
<Attributes />
</AssemblyInfo>
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs >
2003-08-18 04:28:10 +00:00
<summary > Display application and Gnome system help.</summary>
<remarks > These functions provide a way to display help files that are either installed as part of the main Gnome installation or that are specific to the current application.</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "DisplayWithDocId" >
<MemberSignature Language= "C#" Value= "public static bool DisplayWithDocId (Gnome.Program program, string doc_id, string file_name, string link_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "program" Type= "Gnome.Program" />
<Parameter Name= "doc_id" Type= "System.String" />
<Parameter Name= "file_name" Type= "System.String" />
<Parameter Name= "link_id" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-09-17 21:56:59 +00:00
<summary > Displays the help file specified by <paramref name= "file_name" /> at location <paramref name= "link_id" /> within the <paramref name= "doc_id" /> domain in the preferred help browser of the user.</summary>
2003-07-17 06:35:10 +00:00
<param name= "program" > a <see cref= "T:Gnome.Program" /> </param>
<param name= "doc_id" > a <see cref= "T:System.String" /> </param>
<param name= "file_name" > a <see cref= "T:System.String" /> </param>
<param name= "link_id" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2003-08-18 04:28:10 +00:00
<remarks >
<para >
2003-09-17 21:56:59 +00:00
Most of the time, you want to call <see cref= "M:Gnome.Help.Display(System.String,System.String)" /> instead.
2003-08-18 04:28:10 +00:00
</para>
<para >
2003-09-17 21:56:59 +00:00
This function will display the help through creating a "ghelp" URI, by looking for <paramref name= "file_name" /> in the applications installed help location (found by <see cref= "F:Gnome.FileDomain.AppHelp" /> ) and its <paramref name= "app_id" /> . The resulting URI is roughly in the form "ghelp:appid/file_name?link_id". If a matching file cannot be found, <see langword= "false" /> is returned.
2003-08-18 04:28:10 +00:00
</para>
<para >
2003-09-17 21:56:59 +00:00
Please note that this only displays application help. To display help files from the global Gnome domain, you will want to use <see cref= "M:Gnome.Help.DisplayDesktop(Gnome.Program,System.String,System.String,System.String)" /> .
2003-08-18 04:28:10 +00:00
</para>
2003-09-17 21:56:59 +00:00
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "ErrorQuark" >
<MemberSignature Language= "C#" Value= "public static int ErrorQuark ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:System.Int32" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Display" >
<MemberSignature Language= "C#" Value= "public static bool Display (string file_name, string link_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "file_name" Type= "System.String" />
<Parameter Name= "link_id" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-09-17 21:56:59 +00:00
<summary > Displays the help file specified by <paramref name= "file_name" /> at location <paramref name= "link_id" /> in the preferred help browser of the user.</summary>
2003-07-17 06:35:10 +00:00
<param name= "file_name" > a <see cref= "T:System.String" /> </param>
<param name= "link_id" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2003-08-18 04:28:10 +00:00
<remarks > </remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "DisplayUri" >
<MemberSignature Language= "C#" Value= "public static bool DisplayUri (string help_uri);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "help_uri" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-09-17 21:56:59 +00:00
<summary > Displays <paramref name= "help_uri" /> in the preferred help viewer of the user.</summary>
2003-07-17 06:35:10 +00:00
<param name= "help_uri" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2003-09-17 21:56:59 +00:00
<remarks > You should never need to call this function directly in code, since it is just a wrapper for <see cref= "M:Gnome.Url.Show(System.String)" /> and consequently the viewer used to display the results depends upon the scheme of the URI (so it is not strictly a help-only function).</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= "DisplayDesktop" >
<MemberSignature Language= "C#" Value= "public static bool DisplayDesktop (Gnome.Program program, string doc_id, string file_name, string link_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "program" Type= "Gnome.Program" />
<Parameter Name= "doc_id" Type= "System.String" />
<Parameter Name= "file_name" Type= "System.String" />
<Parameter Name= "link_id" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
2003-09-17 21:56:59 +00:00
<summary > Displays the Gnome system help file specified by <paramref name= "file_name" /> at location <paramref name= "link_id" /> in the preferred help browser of the user.</summary>
2003-07-17 06:35:10 +00:00
<param name= "program" > a <see cref= "T:Gnome.Program" /> </param>
<param name= "doc_id" > a <see cref= "T:System.String" /> </param>
<param name= "file_name" > a <see cref= "T:System.String" /> </param>
<param name= "link_id" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2003-08-18 04:28:10 +00:00
<remarks >
<para >
2003-09-17 21:56:59 +00:00
This is done by creating a "ghelp" URI, by looking for <paramref name= "file_name" /> in the system help domain (<see cref= "F:Gnome.FileDomain.Help" /> ) and its <paramref name= "app_id" /> . This domain is determined when the library is compiled. If a matching file cannot be found, <see langword= "false" /> is returned.
2003-08-18 04:28:10 +00:00
</para>
<para >
2003-09-17 21:56:59 +00:00
Please note that this only displays system help. To display help files for an application, you will want to use <see cref= "M:Gnome.Help.Display(System.String,System.String)" /> .
2003-08-18 04:28:10 +00:00
</para>
2003-09-17 21:56:59 +00:00
</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Help ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-09-17 21:56:59 +00:00
<summary > Creates a new <see cref= "T:Gnome.Help" /> instance.</summary>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Gnome.Help" /> </returns>
2003-09-17 21:56:59 +00:00
<remarks > This is the default constructor for <see cref= "T:Gnome.Help" /> .</remarks>
</Docs>
</Member>
<Member MemberName= "DisplayDesktopWithEnv" >
<MemberSignature Language= "C#" Value= "public static bool DisplayDesktopWithEnv (Gnome.Program program, string doc_id, string file_name, string link_id, string envp);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "program" Type= "Gnome.Program" />
<Parameter Name= "doc_id" Type= "System.String" />
<Parameter Name= "file_name" Type= "System.String" />
<Parameter Name= "link_id" Type= "System.String" />
<Parameter Name= "envp" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "program" > a <see cref= "T:Gnome.Program" /> </param>
<param name= "doc_id" > a <see cref= "T:System.String" /> </param>
<param name= "file_name" > a <see cref= "T:System.String" /> </param>
<param name= "link_id" > a <see cref= "T:System.String" /> </param>
<param name= "envp" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "DisplayUriWithEnv" >
<MemberSignature Language= "C#" Value= "public static bool DisplayUriWithEnv (string help_uri, string envp);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "help_uri" Type= "System.String" />
<Parameter Name= "envp" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "help_uri" > a <see cref= "T:System.String" /> </param>
<param name= "envp" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "DisplayWithDocIdAndEnv" >
<MemberSignature Language= "C#" Value= "public static bool DisplayWithDocIdAndEnv (Gnome.Program program, string doc_id, string file_name, string link_id, string envp);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "program" Type= "Gnome.Program" />
<Parameter Name= "doc_id" Type= "System.String" />
<Parameter Name= "file_name" Type= "System.String" />
<Parameter Name= "link_id" Type= "System.String" />
<Parameter Name= "envp" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "program" > a <see cref= "T:Gnome.Program" /> </param>
<param name= "doc_id" > a <see cref= "T:System.String" /> </param>
<param name= "file_name" > a <see cref= "T:System.String" /> </param>
<param name= "link_id" > a <see cref= "T:System.String" /> </param>
<param name= "envp" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
</Members>
2003-09-17 21:56:59 +00:00
</Type>