GladeXML

Represents an instantiation of an XML interface description.

Object Hierarchy

Description

Glade is an user builder for Gtk+. You can rapidly create user interfaces in a WYSIWYG fashion using the tool, which generates an XML representation of that interface in the form of a .glade

This object represents an instantiation of that .glade. You can use this object in your program to individually handle your widgets.

It is also possible to describe signal handlers using Glade. If you have done so, you may use the signal_autoconnect() method to automatically connect all the widgets to their respective handlers. If your handlers are part of classes, then use the signal_autoconnect_instance() method.

Do have a look at Glade Tutorial for more on how to use the Glade extension.

Constructors

GladeXML (filename [, root [, domain]]);

-- Creates a new GladeXML instance from a file.

GladeXML::new_from_buffer (buffer [, root [, domain]]);

-- Creates a new GladeXML instance from a string.

Methods

get_widget()
  Returns a GtkWidget object corresponding to the given name.
get_widget_prefix()
  Returns a set of widgets whose names begin with the provided string.
relative_file()
  Resolves relative pathnames specified by a file.
signal_autoconnect()
  Automatically connects all specified signal handlers to their corresponding functions.
signal_autoconnect_instance()
  Automatically connects all specified signal handlers to their corresponding methods of a class.
signal_connect()