2003-07-17 06:35:10 +00:00
<Type Name= "Parser" FullName= "Glade.Parser" >
<TypeSignature Language= "C#" Value= "public class Parser" Maintainer= "auto" />
<AssemblyInfo >
<AssemblyName > glade-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-07-17 06:35:10 +00:00
</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>
2009-01-08 16:40:35 +00:00
<Base >
<BaseTypeName > System.Object</BaseTypeName>
</Base>
<Interfaces />
2003-07-17 06:35:10 +00:00
<Docs >
2004-08-02 02:38:30 +00:00
<summary > Glade's parser used to turn XML into its internal format.</summary>
2006-01-30 23:34:50 +00:00
<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>
2003-07-17 06:35:10 +00:00
</Docs>
<Members >
2009-01-08 16:40:35 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Parser ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
2003-07-17 06:35:10 +00:00
<Docs >
2009-01-08 16:40:35 +00:00
<summary > Default constructor</summary>
<remarks />
2003-07-17 06:35:10 +00:00
</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 >
2003-09-09 22:40:47 +00:00
<Parameter Name= "buffer" Type= "System.String" />
<Parameter Name= "domain" Type= "System.String" />
</Parameters>
2003-07-17 06:35:10 +00:00
<Docs >
<param name= "buffer" > a <see cref= "T:System.String" /> </param>
<param name= "domain" > a <see cref= "T:System.String" /> </param>
2009-01-08 16:40:35 +00:00
<summary > This function is similar to <see cref= "M:Glade.Parser.ParseFile()" /> , except that it parses XML data from a buffer in memory.</summary>
2003-07-17 06:35:10 +00:00
<returns > a <see cref= "T:Glade.Interface" /> </returns>
2004-08-02 02:38:30 +00:00
<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>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
2009-01-08 16:40:35 +00:00
<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>
2003-07-17 06:35:10 +00:00
<Docs >
2009-01-08 16:40:35 +00:00
<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>
2003-07-17 06:35:10 +00:00
</Docs>
</Member>
</Members>
2006-08-03 17:10:57 +00:00
</Type>