5 #include "psppire-var-view.h"
7 #include <gladeui/glade.h>
10 /* Dummy function to keep the linker happy.
11 Glade never actually needs to use this return value.
14 psppire_var_ptr_get_type (void)
20 glade_psppire_var_view_post_create (GladeWidgetAdaptor *adaptor,
22 GladeCreateReason reason)
26 PsppireVarView *var_view = PSPPIRE_VAR_VIEW (object);
28 g_return_if_fail (PSPPIRE_IS_VAR_VIEW (var_view));
30 widget = glade_widget_get_from_gobject (GTK_WIDGET (var_view));
34 if (reason == GLADE_CREATE_USER)
36 /* HIG complient border-width defaults on var_views */
37 glade_widget_property_set (widget, "border-width", 5);
43 glade_psppire_var_view_get_internal_child (GladeWidgetAdaptor *adaptor,
44 PsppireVarView *var_view,
48 g_print ("%s\n", __FUNCTION__);
50 return GTK_WIDGET (var_view);
56 glade_psppire_var_view_set_property (GladeWidgetAdaptor *adaptor,
62 g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__, object,
63 G_OBJECT_TYPE_NAME( object ),
67 GWA_GET_CLASS (GTK_TYPE_WINDOW)->set_property (adaptor, object,
73 glade_psppire_var_view_get_children (GladeWidgetAdaptor *adaptor,
78 g_return_val_if_fail (PSPPIRE_IS_VAR_VIEW (dv), NULL);
80 list = glade_util_container_get_all_children (GTK_CONTAINER (dv));