4 #include "psppire-acr.h"
6 #include <gladeui/glade.h>
10 glade_psppire_acr_post_create (GladeWidgetAdaptor *adaptor,
12 GladeCreateReason reason)
16 PsppireAcr *acr = PSPPIRE_ACR (object);
18 g_return_if_fail (PSPPIRE_IS_ACR (acr));
20 widget = glade_widget_get_from_gobject (GTK_WIDGET (acr));
24 if (reason == GLADE_CREATE_USER)
26 /* HIG complient border-width defaults on acrs */
27 glade_widget_property_set (widget, "border-width", 5);
33 glade_psppire_acr_get_internal_child (GladeWidgetAdaptor *adaptor,
38 g_print ("%s\n", __FUNCTION__);
40 return GTK_WIDGET (acr);
46 glade_psppire_acr_set_property (GladeWidgetAdaptor *adaptor,
52 g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
53 G_OBJECT_TYPE_NAME( object ),
57 GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
64 glade_psppire_acr_get_children (GladeWidgetAdaptor *adaptor,
69 g_return_val_if_fail (PSPPIRE_IS_ACR (acr), NULL);
71 list = glade_util_container_get_all_children (GTK_CONTAINER (acr));