4 #include "psppire-selector.h"
10 glade_psppire_selector_post_create (GladeWidgetAdaptor *adaptor,
12 GladeCreateReason reason)
16 PsppireSelector *selector = PSPPIRE_SELECTOR (object);
18 g_return_if_fail (PSPPIRE_IS_SELECTOR (selector));
20 widget = glade_widget_get_from_gobject (GTK_WIDGET (selector));
24 if (reason == GLADE_CREATE_USER)
26 /* HIG complient border-width defaults on selectors */
27 glade_widget_property_set (widget, "border-width", 5);
33 glade_psppire_selector_get_internal_child (GladeWidgetAdaptor *adaptor,
34 PsppireSelector *selector,
38 g_print ("%s\n", __FUNCTION__);
40 return GTK_WIDGET (selector);
46 glade_psppire_selector_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_selector_get_children (GladeWidgetAdaptor *adaptor,
65 PsppireSelector *selector)
69 g_return_val_if_fail (PSPPIRE_IS_SELECTOR (selector), NULL);
71 list = glade_util_container_get_all_children (GTK_CONTAINER (selector));