free (view);
}
-void
-psppire_output_view_clear (struct psppire_output_view *view)
-{
- size_t i;
-
- view->max_width = 0;
- view->y = 0;
-
- for (i = 0; i < view->n_items; i++)
- {
- gtk_container_remove (GTK_CONTAINER (view->output),
- view->items[i].drawing_area);
- output_item_unref (view->items[i].item);
- }
- free (view->items);
- view->items = NULL;
- view->n_items = view->allocated_items = 0;
-}
-
/* Export. */
void
struct psppire_output_view *psppire_output_view_new (GtkLayout *output,
GtkTreeView *overview);
-void psppire_output_view_clear (struct psppire_output_view *);
void psppire_output_view_destroy (struct psppire_output_view *);
void psppire_output_view_put (struct psppire_output_view *,
void psppire_output_view_print (struct psppire_output_view *,
GtkWindow *parent_window);
-void psppire_output_view_register_driver (struct psppire_output_view *);
-
#endif /* psppire-output-view.h */