<Type Name="Parser" FullName="Glade.Parser"> <TypeSignature Language="C#" Value="public class Parser" Maintainer="auto" /> <AssemblyInfo> <AssemblyName>glade-sharp</AssemblyName> <AssemblyPublicKey> </AssemblyPublicKey> <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> <summary>Glade's parser used to turn XML into its internal format.</summary> <remarks /> </Docs> <Base> <BaseTypeName>System.Object</BaseTypeName> </Base> <Interfaces /> <Attributes /> <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> <returns>a <see cref="T:Glade.Parser" /></returns> <remarks /> </Docs> </Member> </Members> </Type>