org.gnu.glade
org.gnome.glade.LibGlade
for the
new version in java-gnome 4.0.public class LibGlade extends java.lang.Object
Constructor and Description |
---|
LibGlade(java.io.InputStream in,
java.lang.Object owner,
java.lang.String root)
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.
|
LibGlade(java.lang.String file,
java.lang.Object owner)
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.
|
LibGlade(java.lang.String file,
java.lang.Object owner,
java.lang.String root)
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.
|
Modifier and Type | Method and Description |
---|---|
org.gnu.gtk.Widget |
getWidget(java.lang.String name)
Deprecated.
|
public LibGlade(java.lang.String file, java.lang.Object owner) throws GladeXMLException, java.io.FileNotFoundException, java.io.IOException
<GTK-Interface>
tag) can be converted using
libglade-convert (part of the libglade2-devel
package).file
- the path of the Glade 2.0 XML definition file.owner
- the default object for event handlingGladeXMLException
java.io.FileNotFoundException
java.io.IOException
public LibGlade(java.lang.String file, java.lang.Object owner, java.lang.String root) throws GladeXMLException, java.io.FileNotFoundException, java.io.IOException
<GTK-Interface>
tag) can be converted using
libglade-convert (part of the libglade2-devel
package).
An optional widget node root may be specified to build a fragment of a
widget tree (specify null
. 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."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, or null
for the complete tree.GladeXMLException
java.io.FileNotFoundException
java.io.IOException
public LibGlade(java.io.InputStream in, java.lang.Object owner, java.lang.String root) throws GladeXMLException, java.io.IOException
<GTK-Interface>
tag) can be converted using
libglade-convert (part of the libglade2-devel
package).
An optional widget node root may be specified to build a fragment of a
widget tree (specify null
. 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."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, or null
for the complete tree.GladeXMLException
java.io.IOException