public class Builder extends Object
Note that this is the replacement for the GNOME 2 "libglade" library, but
you still use the Glade
UI designer to create
GtkBuilder .ui
files.
Constructor and Description |
---|
Builder()
Creates a new Builder tree.
|
Modifier and Type | Method and Description |
---|---|
void |
addFromFile(String filename)
Merge the infromation from the given
.ui file into the
current Builder tree. |
void |
addFromString(String buffer)
Merge the infromation from the given
.ui file into the
current Builder tree. |
Object |
getObject(String name)
Get the Object corresponding to the given name.
|
public void addFromFile(String filename) throws FileNotFoundException, ParseException
.ui
file into the
current Builder tree.ParseException
- The underlying GtkBuilder library was unable to process the
User Interface description in the given file.FileNotFoundException
public void addFromString(String buffer) throws ParseException
.ui
file into the
current Builder tree.ParseException
- The underlying GtkBuilder library was unable to process the
User Interface description in the given string.public Object getObject(String name)