mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-27 04:46:10 +00:00
024566c738
svn path=/trunk/gtk-sharp/; revision=63314
75 lines
3.3 KiB
XML
75 lines
3.3 KiB
XML
<Type Name="Parser" FullName="Glade.Parser">
|
|
<TypeSignature Language="C#" Value="public class Parser" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>glade-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.10.0.0</AssemblyVersion>
|
|
</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>
|
|
<summary>Glade's parser used to turn XML into its internal format.</summary>
|
|
<remarks>Parser class loads / parses the .glade files from memory [buffer], or a file in disk.
|
|
This class has the helper functions to load the UI description from file/buffer, and
|
|
turn it into a GladeInterface, which has metadata about the .glade file,
|
|
its connections and properties etc.
|
|
|
|
</remarks>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Members>
|
|
<Member MemberName="ParseFile">
|
|
<MemberSignature Language="C#" Value="public static Glade.Interface ParseFile (string file, string domain);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Glade.Interface</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="file" Type="System.String" />
|
|
<Parameter Name="domain" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>This function parses a Glade XML interface file to a <see cref="T:Glade.Interface" /> object (which is libglade's internal representation of the interface data).</summary>
|
|
<param name="file">a <see cref="T:System.String" /></param>
|
|
<param name="domain">a <see cref="T:System.String" /></param>
|
|
<returns>a <see cref="T:Glade.Interface" /></returns>
|
|
<remarks>Generally, user code will not need to call this function. Instead, it should go through the <see cref="T:Glade.XML" /> interfaces.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ParseBuffer">
|
|
<MemberSignature Language="C#" Value="public static Glade.Interface ParseBuffer (string buffer, string domain);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Glade.Interface</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="buffer" Type="System.String" />
|
|
<Parameter Name="domain" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>This function is similar to <see cref="M:Glade.Parser.ParseFile()" />, except that it parses XML data from a buffer in memory.</summary>
|
|
<param name="buffer">a <see cref="T:System.String" /></param>
|
|
<param name="domain">a <see cref="T:System.String" /></param>
|
|
<returns>a <see cref="T:Glade.Interface" /></returns>
|
|
<remarks>This could be used to embed an interface into the executable, for instance.
|
|
<para>
|
|
Generally, user code will not need to call this function. Instead, it should go through the <see cref="T:Glade.XML" /> interfaces.
|
|
</para></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Parser ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Default constructor</summary>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|