Whole document tree
    

Whole document tree

GalViewCollection

GalViewCollection

GalViewCollection -- 
Object Hierarchy

  GtkObject
   +----GalViewCollection
Signal Prototypes

"display-view"
            void        user_function      (GalViewCollection *galviewcollection,
                                            GtkObject *arg1,
                                            gpointer user_data);
Description

Details
GAL_VIEW_COLLECTION_TYPE
#define GAL_VIEW_COLLECTION_TYPE        (gal_view_collection_get_type ())


GalViewCollection
typedef struct {
	GtkObject base;

	GList *view_list;
	GList *factory_list;
} GalViewCollection;


gal_view_collection_new ()
GalViewCollection* gal_view_collection_new  (void);

A collection of views and view factories.


gal_view_collection_set_storage_directories ()
void        gal_view_collection_set_storage_directories
                                            (GalViewCollection *collection,
                                             char *system_dir,
                                             char *local_dir);

Sets up the GalViewCollection.


gal_view_collection_add_factory ()
void        gal_view_collection_add_factory (GalViewCollection *collection,
                                             GalViewFactory *factory);

Adds the given factory to this collection. This list is used both when loading views from their xml description as well as when the user tries to create a new view.


gal_view_collection_display_view ()
void        gal_view_collection_display_view
                                            (GalViewCollection *collection,
                                             GalView *view);

Signals
The "display-view" signal
void        user_function                  (GalViewCollection *galviewcollection,
                                            GtkObject *arg1,
                                            gpointer user_data);