Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
export_metadata.c File Reference
#include "bauhaus/bauhaus.h"
#include "common/darktable.h"
#include "common/debug.h"
#include "common/imageio_module.h"
#include "control/conf.h"
#include "control/control.h"
#include "control/signal.h"
#include "dtgtk/button.h"
#include "gui/gtk.h"
#include "gui/gtkentry.h"
#include "libs/lib.h"
#include "libs/lib_api.h"
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include <stdlib.h>
+ Include dependency graph for export_metadata.c:

Data Structures

struct  dt_lib_export_metadata_t
 

Typedefs

typedef enum dt_lib_tagging_cols_t dt_lib_tagging_cols_t
 
typedef struct dt_lib_export_metadata_t dt_lib_export_metadata_t
 

Enumerations

enum  dt_lib_tagging_cols_t {
  DT_LIB_EXPORT_METADATA_COL_XMP = 0 ,
  DT_LIB_EXPORT_METADATA_COL_TYPE ,
  DT_LIB_EXPORT_METADATA_COL_FORMULA ,
  DT_LIB_EXPORT_METADATA_COL_VISIBLE ,
  DT_LIB_EXPORT_METADATA_NUM_COLS
}
 

Functions

const GList * dt_exif_get_exiv2_taglist ()
 
static gboolean _find_metadata_iter_per_text (GtkTreeModel *model, GtkTreeIter *iter, gint col, const char *text)
 
static void _add_selected_metadata (GtkTreeView *view, dt_lib_export_metadata_t *d)
 
static gboolean _click_on_metadata_list (GtkWidget *view, GdkEventButton *event, dt_lib_export_metadata_t *d)
 
static gboolean _set_matching_tag_visibility (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, dt_lib_export_metadata_t *d)
 
static void _tag_name_changed (GtkEntry *entry, dt_lib_export_metadata_t *d)
 
static void _add_tag_button_clicked (GtkButton *button, dt_lib_export_metadata_t *d)
 
static void _remove_tag_from_list (dt_lib_export_metadata_t *d)
 
static void _delete_tag_button_clicked (GtkButton *button, dt_lib_export_metadata_t *d)
 
static gboolean _key_press_on_list (GtkWidget *widget, GdkEventKey *event, dt_lib_export_metadata_t *d)
 
static void _tags_toggled (GtkToggleButton *dttag, dt_lib_export_metadata_t *d)
 
static void _formula_edited (GtkCellRenderer *renderer, gchar *path, gchar *new_text, dt_lib_export_metadata_t *d)
 
static void _formula_editing_started (GtkCellRenderer *renderer, GtkCellEditable *editable, char *path, dt_lib_export_metadata_t *d)
 
char * dt_lib_export_metadata_configuration_dialog (char *metadata_presets, const gboolean ondisk)
 

Typedef Documentation

◆ dt_lib_export_metadata_t

◆ dt_lib_tagging_cols_t

Enumeration Type Documentation

◆ dt_lib_tagging_cols_t

Enumerator
DT_LIB_EXPORT_METADATA_COL_XMP 
DT_LIB_EXPORT_METADATA_COL_TYPE 
DT_LIB_EXPORT_METADATA_COL_FORMULA 
DT_LIB_EXPORT_METADATA_COL_VISIBLE 
DT_LIB_EXPORT_METADATA_NUM_COLS 

Function Documentation

◆ _add_selected_metadata()

◆ _add_tag_button_clicked()

◆ _click_on_metadata_list()

static gboolean _click_on_metadata_list ( GtkWidget *  view,
GdkEventButton *  event,
dt_lib_export_metadata_t d 
)
static

◆ _delete_tag_button_clicked()

static void _delete_tag_button_clicked ( GtkButton *  button,
dt_lib_export_metadata_t d 
)
static

◆ _find_metadata_iter_per_text()

static gboolean _find_metadata_iter_per_text ( GtkTreeModel *  model,
GtkTreeIter *  iter,
gint  col,
const char *  text 
)
static

References FALSE, model, name, and TRUE.

Referenced by _add_selected_metadata().

◆ _formula_edited()

static void _formula_edited ( GtkCellRenderer *  renderer,
gchar *  path,
gchar *  new_text,
dt_lib_export_metadata_t d 
)
static

◆ _formula_editing_started()

static void _formula_editing_started ( GtkCellRenderer *  renderer,
GtkCellEditable *  editable,
char *  path,
dt_lib_export_metadata_t d 
)
static

◆ _key_press_on_list()

static gboolean _key_press_on_list ( GtkWidget *  widget,
GdkEventKey *  event,
dt_lib_export_metadata_t d 
)
static

◆ _remove_tag_from_list()

◆ _set_matching_tag_visibility()

static gboolean _set_matching_tag_visibility ( GtkTreeModel *  model,
GtkTreePath *  path,
GtkTreeIter *  iter,
dt_lib_export_metadata_t d 
)
static

◆ _tag_name_changed()

◆ _tags_toggled()

◆ dt_exif_get_exiv2_taglist()

const GList * dt_exif_get_exiv2_taglist ( )

get the list of available tags from Exvi2 must not be freed

References dt_exif_set_exiv2_taglist(), and exiv2_taglist.

Referenced by dt_lib_export_metadata_configuration_dialog().

◆ dt_lib_export_metadata_configuration_dialog()