<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_0) on Sat Oct 31 06:25:47 EDT 2009 --> <TITLE> LibGlade (Java-Gnome 2.12.8 API Reference) </TITLE> <META NAME="date" CONTENT="2009-10-31"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="LibGlade (Java-Gnome 2.12.8 API Reference)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/gnu/glade/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/gnu/glade/ItemDelegate.html" title="class in org.gnu.glade"><B>PREV CLASS</B></A> <A HREF="../../../org/gnu/glade/LibGladeStubs.html" title="class in org.gnu.glade"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/gnu/glade/LibGlade.html" target="_top"><B>FRAMES</B></A> <A HREF="LibGlade.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.gnu.glade</FONT> <BR> Class LibGlade</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.gnu.glade.LibGlade</B> </PRE> <HR> <B>Deprecated.</B> <I>This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. See <code>org.gnome.glade.LibGlade</code> for the new version in java-gnome 4.0.</I> <P> <DL> <DT><PRE>public class <B>LibGlade</B><DT>extends java.lang.Object</DL> </PRE> <P> libglade support for Java-GNOME <P> <P> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/gnu/glade/LibGlade.html#LibGlade(java.io.InputStream, java.lang.Object, java.lang.String)">LibGlade</A></B>(java.io.InputStream in, java.lang.Object owner, java.lang.String root)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method will no doubt exist conceptually, but it likely has a different name or signature due to the fact that the presented API is now an algorithmic mapping of the underlying native libraries.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/gnu/glade/LibGlade.html#LibGlade(java.lang.String, java.lang.Object)">LibGlade</A></B>(java.lang.String file, java.lang.Object owner)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method will no doubt exist conceptually, but it likely has a different name or signature due to the fact that the presented API is now an algorithmic mapping of the underlying native libraries.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/gnu/glade/LibGlade.html#LibGlade(java.lang.String, java.lang.Object, java.lang.String)">LibGlade</A></B>(java.lang.String file, java.lang.Object owner, java.lang.String root)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method will no doubt exist conceptually, but it likely has a different name or signature due to the fact that the presented API is now an algorithmic mapping of the underlying native libraries.</I></TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.gnu.gtk.Widget</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/gnu/glade/LibGlade.html#getWidget(java.lang.String)">getWidget</A></B>(java.lang.String name)</CODE> <BR> <B>Deprecated.</B> </TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="LibGlade(java.lang.String, java.lang.Object)"><!-- --></A><H3> LibGlade</H3> <PRE> public <B>LibGlade</B>(java.lang.String file, java.lang.Object owner) throws <A HREF="../../../org/gnu/glade/GladeXMLException.html" title="class in org.gnu.glade">GladeXMLException</A>, java.io.FileNotFoundException, java.io.IOException</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method will no doubt exist conceptually, but it likely has a different name or signature due to the fact that the presented API is now an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Create a new LibGlade object from a Glade XML definition file. The definition file is read, parsed, and a GTK widget set is mapped. Each LibGlade object is "owned" by an object that provides event handling for all the defined widgets. This class supports the <a href="http://glade.gnome.org/glade-2.0.dtd">Glade 2.0 XML schema</a>. Glade 1.0 files (those that start with the <code><GTK-Interface></code> tag) can be converted using libglade-convert (part of the <code>libglade2-devel</code> package). <P> <DL> <DT><B>Parameters:</B><DD><CODE>file</CODE> - the path of the Glade 2.0 XML definition file.<DD><CODE>owner</CODE> - the default object for event handling <DT><B>Throws:</B> <DD><CODE><A HREF="../../../org/gnu/glade/GladeXMLException.html" title="class in org.gnu.glade">GladeXMLException</A></CODE> <DD><CODE>java.io.FileNotFoundException</CODE> <DD><CODE>java.io.IOException</CODE></DL> </DL> <HR> <A NAME="LibGlade(java.lang.String, java.lang.Object, java.lang.String)"><!-- --></A><H3> LibGlade</H3> <PRE> public <B>LibGlade</B>(java.lang.String file, java.lang.Object owner, java.lang.String root) throws <A HREF="../../../org/gnu/glade/GladeXMLException.html" title="class in org.gnu.glade">GladeXMLException</A>, java.io.FileNotFoundException, java.io.IOException</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method will no doubt exist conceptually, but it likely has a different name or signature due to the fact that the presented API is now an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Create a new LibGlade object from a Glade XML definition file. The definition file is read, parsed, and a GTK widget set is mapped. Each LibGlade object is "owned" by an object that provides event handling for all the defined widgets. This class supports the <a href="http://glade.gnome.org/glade-2.0.dtd">Glade 2.0 XML schema</a>. Glade 1.0 files (those that start with the <code><GTK-Interface></code> tag) can be converted using libglade-convert (part of the <code>libglade2-devel</code> package). An optional widget node root may be specified to build a fragment of a widget tree (specify <code>null</code>. From the LibGlade 2.0 documentation: "This feature is useful if you only want to build say a toolbar or menu from the XML file, but not the window it is embedded in." <P> <DL> <DT><B>Parameters:</B><DD><CODE>file</CODE> - the path of the Glade 2.0 XML definition file.<DD><CODE>owner</CODE> - the default object for event handling<DD><CODE>root</CODE> - the root widget node for a sub-tree, or <code>null</code> for the complete tree. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../org/gnu/glade/GladeXMLException.html" title="class in org.gnu.glade">GladeXMLException</A></CODE> <DD><CODE>java.io.FileNotFoundException</CODE> <DD><CODE>java.io.IOException</CODE></DL> </DL> <HR> <A NAME="LibGlade(java.io.InputStream, java.lang.Object, java.lang.String)"><!-- --></A><H3> LibGlade</H3> <PRE> public <B>LibGlade</B>(java.io.InputStream in, java.lang.Object owner, java.lang.String root) throws <A HREF="../../../org/gnu/glade/GladeXMLException.html" title="class in org.gnu.glade">GladeXMLException</A>, java.io.IOException</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method will no doubt exist conceptually, but it likely has a different name or signature due to the fact that the presented API is now an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Create a new LibGlade object from an Reader which defines a Glade XML definition. This definition is read, parsed, and a GTK widget set is mapped. Each LibGlade object is "owned" by an object that provides event handling for all the defined widgets. This class supports the <a href="http://glade.gnome.org/glade-2.0.dtd">Glade 2.0 XML schema</a>. Glade 1.0 files (those that start with the <code><GTK-Interface></code> tag) can be converted using libglade-convert (part of the <code>libglade2-devel</code> package). An optional widget node root may be specified to build a fragment of a widget tree (specify <code>null</code>. From the LibGlade 2.0 documentation: "This feature is useful if you only want to build say a toolbar or menu from the XML file, but not the window it is embedded in." <P> <DL> <DT><B>Parameters:</B><DD><CODE>in</CODE> - the stream for a Glade 2.0 XML definition.<DD><CODE>owner</CODE> - the default object for event handling<DD><CODE>root</CODE> - the root widget node for a sub-tree, or <code>null</code> for the complete tree. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../org/gnu/glade/GladeXMLException.html" title="class in org.gnu.glade">GladeXMLException</A></CODE> <DD><CODE>java.io.IOException</CODE></DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getWidget(java.lang.String)"><!-- --></A><H3> getWidget</H3> <PRE> public org.gnu.gtk.Widget <B>getWidget</B>(java.lang.String name)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/gnu/glade/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/gnu/glade/ItemDelegate.html" title="class in org.gnu.glade"><B>PREV CLASS</B></A> <A HREF="../../../org/gnu/glade/LibGladeStubs.html" title="class in org.gnu.glade"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/gnu/glade/LibGlade.html" target="_top"><B>FRAMES</B></A> <A HREF="LibGlade.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>