glade/plugins/gtk+/glade-gtk-action-widgets.h
Juan Pablo Ugarte e0b4eb9ce6 * gladeui/glade-widget-adaptor.[ch]:
o Added support for reading internal children declaration in the catalog
   o Added GWA base class get_internal_child implementation using gtk_buildable_get_internal_child()
   o Create internal children as specified in catalog in glade_widget_adaptor_post_create()
     before calling deep_post_create() and post_create() methods
   o new API glade_widget_adaptor_has_internal_children()
     glade_widget_adaptor_get_internal_children()

 * gladeui/glade-widget.[ch]:
   o Made GladeWidget::reason property readable
   o Added new API glade_widget_find_child()

 * plugins/gtk+/glade-gtk-action-widgets.[ch]:
   o reworked code from GtkDialog support to read and write widget actions special tags
     found in GtkDialog and GtkInfoBar widgets

 * plugins/gtk+/glade-gtk-info-bar.c: support code for reading and writing GtkInfoBar special tags

 * plugins/gtk+/glade-gtk.c:
   o Removed GtkBox, GtkDialog, GtkComboBox and GtkTreeView unused get_internal_child functions
   o Removed creation of internal children of GtkDialog, GtkColorSelectionDialog,
     GtkFontSelectionDialog, GtkComboBox and GtkTreeView.
   o Implemented GtkDialog action-widgets tag support using common code.

 * plugins/gtk+/gtk+.xml.in:
   o Added support for GtkInfoBar widget.
   o Defined internal children of GtkDialog, GtkColorSelectionDialog,
     GtkFontSelectionDialog, GtkComboBox, GtkInfoBar and GtkTreeView.

 * gladeui/glade-xml-utils.h: Added GLADE_TAG_INTERNAL_CHILDREN and GLADE_TAG_ANARCHIST tags

 * plugins/glade-catalog.dtd: added new syntax to catalog description
2011-04-05 02:15:56 -03:00

47 lines
1.6 KiB
C

/*
* glade-gtk-action-widgets.h
*
* Copyright (C) 2011 Juan Pablo Ugarte.
*
* Author:
* Juan Pablo Ugarte <juanpablougarte@gmail.com>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef __GLADE_GTK_ACTION_WIDGETS_H__
#define __GLADE_GTK_ACTION_WIDGETS_H__
#include <gladeui/glade.h>
G_BEGIN_DECLS
#define GLADE_TAG_ACTION_WIDGETS "action-widgets"
#define GLADE_TAG_ACTION_WIDGET "action-widget"
#define GLADE_TAG_RESPONSE "response"
void glade_gtk_action_widgets_read_child (GladeWidget *widget,
GladeXmlNode *node,
gchar *action_container);
void glade_gtk_action_widgets_write_child (GladeWidget *widget,
GladeXmlContext *context,
GladeXmlNode *node,
gchar *action_container);
G_END_DECLS
#endif /* __GLADE_GTK_ACTION_WIDGETS_H__ */