* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __GTK_BUILDER_H__
+#define __GTK_BUILDER_H__
+
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#ifndef __GTK_BUILDER_H__
-#define __GTK_BUILDER_H__
-
-#include <gdkconfig.h>
-#include <glib-object.h>
+#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
guint gtk_builder_add_from_file (GtkBuilder *builder,
const gchar *filename,
GError **error);
+guint gtk_builder_add_from_resource (GtkBuilder *builder,
+ const gchar *resource_path,
+ GError **error);
guint gtk_builder_add_from_string (GtkBuilder *builder,
const gchar *buffer,
gsize length,
const gchar *filename,
gchar **object_ids,
GError **error);
+GDK_AVAILABLE_IN_3_4
+guint gtk_builder_add_objects_from_resource(GtkBuilder *builder,
+ const gchar *resource_path,
+ gchar **object_ids,
+ GError **error);
guint gtk_builder_add_objects_from_string (GtkBuilder *builder,
const gchar *buffer,
gsize length,
GObject* gtk_builder_get_object (GtkBuilder *builder,
const gchar *name);
GSList* gtk_builder_get_objects (GtkBuilder *builder);
+GDK_AVAILABLE_IN_3_8
+void gtk_builder_expose_object (GtkBuilder *builder,
+ const gchar *name,
+ GObject *object);
void gtk_builder_connect_signals (GtkBuilder *builder,
gpointer user_data);
void gtk_builder_connect_signals_full (GtkBuilder *builder,