<Type Name="Parser" FullName="Glade.Parser">
  <TypeSignature Language="C#" Value="public class Parser" Maintainer="auto" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Parser extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>glade-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>2.12.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>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <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>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public Parser ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>Default constructor</summary>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="ParseBuffer">
      <MemberSignature Language="C#" Value="public static Glade.Interface ParseBuffer (string buffer, string domain);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype Glade.Interface ParseBuffer(string buffer, string domain) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Glade.Interface</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="buffer" Type="System.String" />
        <Parameter Name="domain" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="buffer">a <see cref="T:System.String" /></param>
        <param name="domain">a <see cref="T:System.String" /></param>
        <summary>This function is similar to <see cref="M:Glade.Parser.ParseFile()" />, except that it parses XML data from a buffer in memory.</summary>
        <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="ParseFile">
      <MemberSignature Language="C#" Value="public static Glade.Interface ParseFile (string file, string domain);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype Glade.Interface ParseFile(string file, string domain) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.12.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Glade.Interface</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="file" Type="System.String" />
        <Parameter Name="domain" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="file">a <see cref="T:System.String" /></param>
        <param name="domain">a <see cref="T:System.String" /></param>
        <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>
        <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>
  </Members>
</Type>
