| Top |
| gchar * | system-directory | Read / Write / Construct Only |
| gchar * | user-directory | Read / Write / Construct Only |
GalViewCollection * gal_view_collection_new (const gchar *system_directory,const gchar *user_directory);
Creates a GalViewCollection and loads ".galview" files from
system_directory
and user_directory
.
const gchar *
gal_view_collection_get_system_directory
(GalViewCollection *collection);
Returns the directory from which built-in views were loaded.
const gchar *
gal_view_collection_get_user_directory
(GalViewCollection *collection);
Returns the directory from which user-created views were loaded.
gint
gal_view_collection_get_count (GalViewCollection *collection);
Calculates the number of views in the given collection.
GalView * gal_view_collection_get_view (GalViewCollection *collection,gint n);
GalViewCollectionItem * gal_view_collection_get_view_item (GalViewCollection *collection,gint n);
gint gal_view_collection_get_view_index_by_id (GalViewCollection *collection,const gchar *view_id);
void gal_view_collection_delete_view (GalViewCollection *collection,gint i);
void
gal_view_collection_save (GalViewCollection *collection);
Saves the data to the user directory specified in set storage directories. This is primarily for internal use by other parts of gal_view.
GalView * gal_view_collection_load_view_from_file (GalViewCollection *collection,const gchar *type,const gchar *filename);
const gchar * gal_view_collection_append_with_title (GalViewCollection *collection,const gchar *title,GalView *view);
const gchar * gal_view_collection_set_nth_view (GalViewCollection *collection,gint i,GalView *view);
const gchar *
gal_view_collection_get_default_view (GalViewCollection *collection);
“system-directory” property“system-directory” gchar *
Directory from which to load built-in views.
Flags: Read / Write / Construct Only
Default value: NULL
“user-directory” property“user-directory” gchar *
Directory from which to load user-created views.
Flags: Read / Write / Construct Only
Default value: NULL
“changed” signalvoid user_function (GalViewCollection *galviewcollection, gpointer user_data)
Flags: Run Last