Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.glade.LibGlade
public class LibGlade
extends java.lang.Object
Constructor Summary | |
| |
| |
|
Method Summary | |
Widget |
|
public LibGlade(InputStream in, Object owner, String root) throws GladeXMLException, IOException
Deprecated. 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.
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 Glade 2.0 XML schema. Glade 1.0 files (those that start with the<GTK-Interface>
tag) can be converted using libglade-convert (part of thelibglade2-devel
package). An optional widget node root may be specified to build a fragment of a widget tree (specifynull
. 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."
- Parameters:
in
- the stream for a Glade 2.0 XML definition.owner
- the default object for event handlingroot
- the root widget node for a sub-tree, ornull
for the complete tree.
public LibGlade(String file, Object owner) throws GladeXMLException, FileNotFoundException, IOException
Deprecated. 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.
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 Glade 2.0 XML schema. Glade 1.0 files (those that start with the<GTK-Interface>
tag) can be converted using libglade-convert (part of thelibglade2-devel
package).
- Parameters:
file
- the path of the Glade 2.0 XML definition file.owner
- the default object for event handling
public LibGlade(String file, Object owner, String root) throws GladeXMLException, FileNotFoundException, IOException
Deprecated. 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.
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 Glade 2.0 XML schema. Glade 1.0 files (those that start with the<GTK-Interface>
tag) can be converted using libglade-convert (part of thelibglade2-devel
package). An optional widget node root may be specified to build a fragment of a widget tree (specifynull
. 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."
- Parameters:
file
- the path of the Glade 2.0 XML definition file.owner
- the default object for event handlingroot
- the root widget node for a sub-tree, ornull
for the complete tree.