gcr-viewer

## gcr-viewer gcr-viewer |

## Synopsis

                        GcrViewer;
    struct              GcrViewerIface;
    GcrViewer *         gcr_viewer_new                      (void);
    GcrViewer *         gcr_viewer_new_scrolled             (void);
    void                gcr_viewer_add_renderer             (GcrViewer *viewer,
                                                             GcrRenderer *renderer);
    void                gcr_viewer_insert_renderer          (GcrViewer *viewer,
                                                             GcrRenderer *renderer,
                                                             GcrRenderer *before);
    void                gcr_viewer_remove_renderer          (GcrViewer *viewer,
                                                             GcrRenderer *renderer);
    guint               gcr_viewer_count_renderers          (GcrViewer *viewer);
    GcrRenderer *       gcr_viewer_get_renderer             (GcrViewer *viewer,
                                                             guint index_);

## Object Hierarchy

      GInterface
       +----GcrViewer

## Prerequisites

GcrViewer requires GtkWidget.

## Description

## Details

### GcrViewer

    typedef struct _GcrViewer GcrViewer;

### struct GcrViewerIface

    struct GcrViewerIface {
    	GTypeInterface parent;

    	void (*add_renderer) (GcrViewer *viewer,
    	                      GcrRenderer *renderer);

    	void (*insert_renderer) (GcrViewer *viewer,
    	                         GcrRenderer *renderer,
    	                         GcrRenderer *before);

    	void (*remove_renderer) (GcrViewer *viewer,
    	                         GcrRenderer *renderer);

    	guint (*count_renderers) (GcrViewer *viewer);

    	GcrRenderer* (*get_renderer) (GcrViewer *viewer,
    	                              guint index_);
    };

### gcr_viewer_new ()

    GcrViewer *         gcr_viewer_new                      (void);

### gcr_viewer_new_scrolled ()

    GcrViewer *         gcr_viewer_new_scrolled             (void);

### gcr_viewer_add_renderer ()

    void                gcr_viewer_add_renderer             (GcrViewer *viewer,
                                                             GcrRenderer *renderer);

### gcr_viewer_insert_renderer ()

    void                gcr_viewer_insert_renderer          (GcrViewer *viewer,
                                                             GcrRenderer *renderer,
                                                             GcrRenderer *before);

### gcr_viewer_remove_renderer ()

    void                gcr_viewer_remove_renderer          (GcrViewer *viewer,
                                                             GcrRenderer *renderer);

### gcr_viewer_count_renderers ()

    guint               gcr_viewer_count_renderers          (GcrViewer *viewer);

### gcr_viewer_get_renderer ()

    GcrRenderer *       gcr_viewer_get_renderer             (GcrViewer *viewer,
                                                             guint index_);