## GalDefineViewsModel

GalDefineViewsModel

## Synopsis

    struct              GalDefineViewsModel;
    ETableModel *       gal_define_views_model_new          (void);
    void                gal_define_views_model_append       (GalDefineViewsModel *model,
                                                             GalView *view);
    GalView *           gal_define_views_model_get_view     (GalDefineViewsModel *model,
                                                             gint n);
    void                gal_define_views_model_delete_view  (GalDefineViewsModel *model,
                                                             gint n);
    void                gal_define_views_model_copy_view    (GalDefineViewsModel *model,
                                                             gint n);

## Object Hierarchy

      GObject
       +----ETableModel
             +----GalDefineViewsModel

## Properties

      "collection"               GalViewCollection*    : Read / Write
      "editable"                 gboolean              : Read / Write

## Description

## Details

### struct GalDefineViewsModel

    struct GalDefineViewsModel;

### gal_define_views_model_new ()

    ETableModel *       gal_define_views_model_new          (void);

Returns a new define views model. This is a list of views as an ETable for use in the GalDefineViewsDialog.

Returns : | The new GalDefineViewsModel.

### gal_define_views_model_append ()

    void                gal_define_views_model_append       (GalDefineViewsModel *model,
                                                             GalView *view);

Adds the given view to the gal define views model.

`model` : | The model to add to.
`view` : | The view to add.

### gal_define_views_model_get_view ()

    GalView *           gal_define_views_model_get_view     (GalDefineViewsModel *model,
                                                             gint n);

Gets the nth view.

`model` : | The GalDefineViewsModel.
`n` : | Which view to get.
Returns : | The view.

### gal_define_views_model_delete_view ()

    void                gal_define_views_model_delete_view  (GalDefineViewsModel *model,
                                                             gint n);

Deletes the nth view.

`model` : | The GalDefineViewsModel.
`n` : | Which view to delete.

### gal_define_views_model_copy_view ()

    void                gal_define_views_model_copy_view    (GalDefineViewsModel *model,
                                                             gint n);

Copys the nth view.

`model` : | The GalDefineViewsModel.
`n` : | Which view to copy.

## Property Details

### The `"collection"` property

      "collection"               GalViewCollection*    : Read / Write

### The `"editable"` property

      "editable"                 gboolean              : Read / Write

Default value: FALSE