5 #include "psppire-selector.h"
7 #include <gladeui/glade.h>
11 glade_psppire_selector_post_create (GladeWidgetAdaptor
*adaptor
,
13 GladeCreateReason reason
)
17 PsppireSelector
*selector
= PSPPIRE_SELECTOR (object
);
19 g_return_if_fail (PSPPIRE_IS_SELECTOR (selector
));
21 widget
= glade_widget_get_from_gobject (GTK_WIDGET (selector
));
25 if (reason
== GLADE_CREATE_USER
)
27 /* HIG complient border-width defaults on selectors */
28 glade_widget_property_set (widget
, "border-width", 5);
34 glade_psppire_selector_get_internal_child (GladeWidgetAdaptor
*adaptor
,
35 PsppireSelector
*selector
,
39 g_print ("%s\n", __FUNCTION__
);
41 return GTK_WIDGET (selector
);
47 glade_psppire_selector_set_property (GladeWidgetAdaptor
*adaptor
,
53 g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__
, object
,
54 G_OBJECT_TYPE_NAME( object
),
58 GWA_GET_CLASS (GTK_TYPE_WINDOW
)->set_property (adaptor
, object
,
65 glade_psppire_selector_get_children (GladeWidgetAdaptor
*adaptor
,
66 PsppireSelector
*selector
)
70 g_return_val_if_fail (PSPPIRE_IS_SELECTOR (selector
), NULL
);
72 list
= glade_util_container_get_all_children (GTK_CONTAINER (selector
));