5 #include "psppire-dictview.h"
7 #include <gladeui/glade.h>
11 psppire_dict_get_type ()
19 glade_psppire_dictview_post_create (GladeWidgetAdaptor
*adaptor
,
21 GladeCreateReason reason
)
25 PsppireDictView
*dictview
= PSPPIRE_DICT_VIEW (object
);
27 g_return_if_fail (PSPPIRE_IS_DICT_VIEW (dictview
));
29 widget
= glade_widget_get_from_gobject (GTK_WIDGET (dictview
));
33 if (reason
== GLADE_CREATE_USER
)
35 /* HIG complient border-width defaults on dictviews */
36 glade_widget_property_set (widget
, "border-width", 5);
42 glade_psppire_dictview_get_internal_child (GladeWidgetAdaptor
*adaptor
,
43 PsppireDictView
*dictview
,
47 g_print ("%s\n", __FUNCTION__
);
49 return GTK_WIDGET (dictview
);
55 glade_psppire_dictview_set_property (GladeWidgetAdaptor
*adaptor
,
61 g_print ("%s(%p) Type=\"%s\" Id=\"%s\"\n", __FUNCTION__
, object
,
62 G_OBJECT_TYPE_NAME( object
),
66 GWA_GET_CLASS (GTK_TYPE_WINDOW
)->set_property (adaptor
, object
,
72 glade_psppire_dictview_get_children (GladeWidgetAdaptor
*adaptor
,
77 g_return_val_if_fail (PSPPIRE_IS_DICT_VIEW (dv
), NULL
);
79 list
= glade_util_container_get_all_children (GTK_CONTAINER (dv
));