UI plugins

UI plugins

Synopsis

GdauiDataEntry *    (*GdauiEntryCreateFunc)             (GdaDataHandler *Param1,
                                                         GType Param2,
                                                         const gchar *Param3);
GtkCellRenderer *   (*GdauiCellCreateFunc)              (GdaDataHandler *Param1,
                                                         GType Param2,
                                                         const gchar *Param3);
                    GdauiPlugin;
void                gdaui_plugin_declare                (const GdauiPlugin *plugin);

Description

Details

GdauiEntryCreateFunc ()

GdauiDataEntry *    (*GdauiEntryCreateFunc)             (GdaDataHandler *Param1,
                                                         GType Param2,
                                                         const gchar *Param3);

GdauiCellCreateFunc ()

GtkCellRenderer *   (*GdauiCellCreateFunc)              (GdaDataHandler *Param1,
                                                         GType Param2,
                                                         const gchar *Param3);

GdauiPlugin

typedef struct {
	gchar                  *plugin_name;
	gchar                  *plugin_descr;
	gchar                  *plugin_file;

	guint                   nb_g_types; /* 0 if all types are accepted */
        GType                  *valid_g_types; /* not NULL if @nb_g_types is not 0 */

	gchar                  *options_xml_spec; /* NULL if no option possible */

	/* actual widget creation: one of them must be not NULL */
	GdauiEntryCreateFunc  entry_create_func;
	GdauiCellCreateFunc   cell_create_func;
} GdauiPlugin;

gdaui_plugin_declare ()

void                gdaui_plugin_declare                (const GdauiPlugin *plugin);