static void on_expander_expanded (GObject *object, GParamSpec *param_spec, gpointer user_data) { GtkExpander *expander = GTK_EXPANDER (object); GcrDisplayItem *item = user_data; item->expanded = gtk_expander_get_expanded (expander); gcr_renderer_render (item->renderer, GCR_VIEWER (item->display_view)); recalculate_and_resize (item->display_view); }
GcrViewer* gcr_viewer_new_scrolled (void) { return GCR_VIEWER (_gcr_display_scrolled_new ()); }
GcrViewer* gcr_viewer_new (void) { return GCR_VIEWER (_gcr_display_view_new ()); }