/* * ECell::unrealize method */ static void ect_unrealize (ECellView *ecv) { ECellTreeView *tree_view = (ECellTreeView *) ecv; /* unrealize our subcell view. */ e_cell_unrealize (tree_view->subcell_view); if (E_CELL_CLASS (e_cell_tree_parent_class)->unrealize) (* E_CELL_CLASS (e_cell_tree_parent_class)->unrealize) (ecv); }
/* * ECell::unrealize method */ static void ecv_unrealize (ECellView *ecv) { ECellHboxView *hbox_view = (ECellHboxView *) ecv; int i; /* unrealize our subcell view. */ for (i = 0; i < hbox_view->subcell_view_count; i++) e_cell_unrealize (hbox_view->subcell_views[i]); if (E_CELL_CLASS (e_cell_hbox_parent_class)->unrealize) (* E_CELL_CLASS (e_cell_hbox_parent_class)->unrealize) (ecv); }
/* * ECell::realize method */ static void ecv_realize (ECellView *ecell_view) { ECellVboxView *vbox_view = (ECellVboxView *) ecell_view; gint i; /* realize our subcell view */ for (i = 0; i < vbox_view->subcell_view_count; i++) e_cell_realize (vbox_view->subcell_views[i]); if (E_CELL_CLASS (e_cell_vbox_parent_class)->realize) (* E_CELL_CLASS (e_cell_vbox_parent_class)->realize) (ecell_view); }
static void e_cell_checkbox_class_init (ECellCheckboxClass *klass) { ECellClass *ecc = E_CELL_CLASS (klass); ecc->print = ecc_print; checks [0] = gdk_pixbuf_new_from_xpm_data (check_empty_xpm); checks [1] = gdk_pixbuf_new_from_xpm_data (check_filled_xpm); }
static void e_cell_progress_class_init (ECellProgressClass *klass) { ECellClass *ecc = E_CELL_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->dispose = eprog_dispose; ecc->new_view = eprog_new_view; ecc->kill_view = eprog_kill_view; ecc->realize = eprog_realize; ecc->unrealize = eprog_unrealize; ecc->draw = eprog_draw; ecc->event = eprog_event; ecc->height = eprog_height; ecc->max_width = eprog_max_width; }
static void e_cell_hbox_class_init (ECellHboxClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); ECellClass *ecc = E_CELL_CLASS (klass); object_class->dispose = ecv_dispose; ecc->new_view = ecv_new_view; ecc->kill_view = ecv_kill_view; ecc->realize = ecv_realize; ecc->unrealize = ecv_unrealize; ecc->draw = ecv_draw; ecc->event = ecv_event; ecc->height = ecv_height; ecc->max_width = ecv_max_width; /* gal_a11y_e_cell_registry_add_cell_type (NULL, E_CELL_HBOX_TYPE, gal_a11y_e_cell_hbox_new); */ }