![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/collection.h"#include "common/act_on.h"#include "widgets/togglebutton.h"#include "common/selection.h"#include "system/macros.h"#include "system/mem_alloc.h"#include "common/module_versioning.h"#include "control/signal.h"#include "common/utility.h"#include "widgets/gdkkeys.h"#include "metadata/tags.h"#include "common/conf.h"#include "control/control.h"#include "widgets/bauhaus.h"#include "widgets/button.h"#include "widgets/icon_cell_renderer.h"#include "gui/application.h"#include "widgets/accelerators.h"#include "gui/drag_and_drop.h"#include "libs/lib.h"#include "libs/tagging_completion.h"#include "libs/lib_api.h"#include <gdk/gdkkeysyms.h>#include "widgets/dialog.h"#include "widgets/label.h"#include "widgets/scroll_wrap.h"#include "widgets/widget_settings.h"
Include dependency graph for tagging.c:Go to the source code of this file.
Data Structures | |
| struct | dt_lib_tagging_t |
| struct | dt_tag_op_t |
Macros | |
| #define | FLOATING_ENTRY_WIDTH DT_PIXEL_APPLY_DPI(150) |
| #define | NEW_TOGGLE_BUTTON(paint, callback, tooltip, action) |
Typedefs | |
| typedef struct dt_lib_tagging_t | dt_lib_tagging_t |
| typedef struct dt_tag_op_t | dt_tag_op_t |
| typedef enum dt_lib_tagging_cols_t | dt_lib_tagging_cols_t |
| typedef enum dt_tag_sort_id | dt_tag_sort_id |
Enumerations | |
| enum | dt_lib_tagging_cols_t { DT_LIB_TAGGING_COL_TAG = 0 , DT_LIB_TAGGING_COL_ID , DT_LIB_TAGGING_COL_PATH , DT_LIB_TAGGING_COL_SYNONYM , DT_LIB_TAGGING_COL_COUNT , DT_LIB_TAGGING_COL_SEL , DT_LIB_TAGGING_COL_FLAGS , DT_LIB_TAGGING_COL_VISIBLE , DT_LIB_TAGGING_NUM_COLS } |
| enum | dt_tag_sort_id { DT_TAG_SORT_PATH_ID , DT_TAG_SORT_NAME_ID , DT_TAG_SORT_COUNT_ID } |
| enum | { DT_COMPL_COL_PATH = 0 , DT_COMPL_NUM_COLS } |
Functions | |
| static void | _save_last_tag_used (const char *tags, dt_lib_tagging_t *d) |
| static void | _refresh_collection_tags (dt_lib_module_t *self) |
| static void | _size_recent_tags_list () |
| static void | _entry_clear_suppressed (GtkEntry *entry) |
| static gboolean | _lib_tagging_tag_redo_accel (GtkAccelGroup *accel_group, GObject *accelerable, guint keyval, GdkModifierType mods, gpointer user_data) |
| Re-apply the most recent tag expression to the current target images. | |
| static gboolean | _lib_tagging_tag_show_accel (GtkAccelGroup *accel_group, GObject *accelerable, guint keyval, GdkModifierType mods, gpointer user_data) |
| Open the floating quick-tag entry used by the historical tagging shortcut, now registered in the active view accel groups. | |
| const char * | name (struct dt_lib_module_t *self) |
| const char ** | views (dt_lib_module_t *self) |
| uint32_t | container (dt_lib_module_t *self) |
| static gboolean | _is_user_tag (GtkTreeModel *model, GtkTreeIter *iter) |
| static void | _unselect_all_in_view (GtkTreeView *view) |
| static gboolean | _selection_get_first (GtkTreeSelection *selection, GtkTreeModel **model, GtkTreeIter *iter) |
| static void | _update_atdetach_buttons (dt_lib_module_t *self) |
| static void | _propagate_sel_to_parents (GtkTreeModel *model, GtkTreeIter *iter) |
| static gboolean | _set_matching_tag_visibility (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, dt_lib_module_t *self) |
| static gboolean | _tree_reveal_func (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data) |
| static void | _sort_attached_list (dt_lib_module_t *self, gboolean force) |
| static void | _sort_dictionary_list (dt_lib_module_t *self, gboolean force) |
| static gboolean | _find_tag_iter_tagname (GtkTreeModel *model, GtkTreeIter *iter, const char *tagname, const gboolean needle) |
| static void | _show_iter_on_view (GtkTreeView *view, GtkTreeIter *iter, const gboolean select) |
| static void | _show_tag_on_view (GtkTreeView *view, const char *tagname, const gboolean needle, const gboolean select) |
| static void | _show_keyword_on_view (GtkTreeView *view, const char *keyword, const gboolean select) |
| static gboolean | _select_previous_user_attached_tag (const int index, GtkTreeView *view) |
| static gboolean | _select_next_user_attached_tag (const int index, GtkTreeView *view) |
| static void | _init_treeview (dt_lib_module_t *self, const int which) |
| static void | _tree_tagname_show (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer data, gboolean dictionary_view) |
| static void | _tree_tagname_show_attached (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer data) |
| static void | _tree_tagname_show_dictionary (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer data) |
| static void | _postponed_update (dt_lib_module_t *self) |
| static void | _lib_tagging_redraw_callback (gpointer instance, dt_lib_module_t *self) |
| static void | _lib_tagging_tags_changed_callback (gpointer instance, dt_lib_module_t *self) |
| static void | _collection_updated_callback (gpointer instance, dt_collection_change_t query_change, dt_collection_properties_t changed_property, gpointer imgs, int next, dt_lib_module_t *self) |
| static void | _raise_signal_tag_changed (dt_lib_module_t *self) |
| static gboolean | _find_tag_iter_tagid (GtkTreeModel *model, GtkTreeIter *iter, const gint tagid) |
| static void | _calculate_sel_on_path (GtkTreeModel *model, GtkTreeIter *iter, const gboolean root) |
| static void | _reset_sel_on_path (GtkTreeModel *model, GtkTreeIter *iter, const gboolean root) |
| static void | _reset_sel_on_path_full (GtkTreeModel *model, GtkTreeIter *iter, const gboolean root) |
| static void | _find_root_iter_iter (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *parent) |
| static void | _calculate_sel_on_tree (GtkTreeModel *model, GtkTreeIter *iter) |
| static void | _update_sel_on_tree (GtkTreeModel *model) |
| static void | _delete_tree_path (GtkTreeModel *model, GtkTreeIter *iter, gboolean root, gboolean tree) |
| static void | _lib_selection_changed_callback (gpointer instance, dt_lib_module_t *self) |
| static void | _set_keyword (dt_lib_module_t *self) |
| static gboolean | _update_tag_name_per_name (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, dt_tag_op_t *to) |
| static void | _update_attached_count (const int tagid, GtkTreeView *view, const gboolean tree_flag) |
| void | init_presets (dt_lib_module_t *self) |
| void * | get_params (dt_lib_module_t *self, int *size) |
| int | set_params (dt_lib_module_t *self, const void *params, int size) |
| static GList * | _selected_tagids (GtkTreeView *view) |
| static void | _detach_tagids (GList *tagids, dt_lib_module_t *self) |
| static void | _pop_menu_attached_attach_to_all (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_attached_detach (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_attached_detach_all (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_attached (GtkWidget *treeview, GdkEventButton *event, dt_lib_module_t *self) |
| static gboolean | _attached_delete_icon_activated (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *treeview, const gchar *path_str, GdkRectangle *background, GdkRectangle *cell_area, GtkCellRendererState flags, gpointer user_data) |
| static void | _attached_delete_icon_show (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer data) |
| static gboolean | _click_on_view_attached (GtkWidget *view, GdkEventButton *event, dt_lib_module_t *self) |
| static gboolean | _attached_key_pressed (GtkWidget *view, GdkEventKey *event, dt_lib_module_t *self) |
| static void | _create_tag_from_entry (dt_lib_module_t *self, GtkEntry *src) |
| static void | _new_button_clicked (GtkButton *button, dt_lib_module_t *self) |
| static gboolean | _enter_key_pressed (GtkWidget *entry, GdkEventKey *event, dt_lib_module_t *self) |
| static void | _entry_clear_icon (GtkEntry *entry, const GtkEntryIconPosition position, GdkEvent *event, dt_lib_module_t *self) |
| static void | _tag_name_changed (GtkEntry *entry, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_delete_node (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_create_tag (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_edit_tag (GtkWidget *menuitem, dt_lib_module_t *self) |
| static gboolean | _apply_rename_path (GtkWidget *dialog, const char *tagname, const char *newtag, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_change_path (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_goto_tag_collection (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_goto_collection_back (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_copy_tag (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _delete_tagids (GList *tagids, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_delete_selected (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary_set_as_tag (GtkWidget *menuitem, dt_lib_module_t *self) |
| static void | _pop_menu_dictionary (GtkWidget *treeview, GdkEventButton *event, dt_lib_module_t *self) |
| static gboolean | _click_on_view_dictionary (GtkWidget *view, GdkEventButton *event, dt_lib_module_t *self) |
| static gboolean | _dictionary_key_pressed (GtkWidget *view, GdkEventKey *event, dt_lib_module_t *self) |
| static gboolean | _row_tooltip_setup (GtkWidget *treeview, gint x, gint y, gboolean kb_mode, GtkTooltip *tooltip, dt_lib_module_t *self) |
| static void | _import_button_clicked (GtkButton *button, dt_lib_module_t *self) |
| static void | _export_button_clicked (GtkButton *button, dt_lib_module_t *self) |
| static void | _update_layout (dt_lib_module_t *self) |
| static void | _toggle_suggestion_button_callback (GtkToggleButton *source, dt_lib_module_t *self) |
| static void | _toggle_tree_button_callback (GtkToggleButton *source, dt_lib_module_t *self) |
| static gint | _sort_tree_count_func (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, dt_lib_module_t *self) |
| static gint | _sort_tree_tag_func (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, dt_lib_module_t *self) |
| static gint | _sort_tree_path_func (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, dt_lib_module_t *self) |
| static void | _sort_combo_changed (GtkWidget *combo, dt_lib_module_t *self) |
| static void | _attached_view_combo_changed (GtkWidget *combo, dt_lib_module_t *self) |
| static void | _dttags_check_toggled (GtkToggleButton *source, dt_lib_module_t *self) |
| void | gui_reset (dt_lib_module_t *self) |
| int | position () |
| static gboolean | _completion_match_func (GtkEntryCompletion *completion, const gchar *key, GtkTreeIter *iter, gpointer user_data) |
| static void | _tree_selection_changed (GtkTreeSelection *treeselection, gpointer data) |
| static void | _dnd_clear_root (dt_lib_module_t *self) |
| static void | _event_dnd_begin (GtkWidget *widget, GdkDragContext *context, dt_lib_module_t *self) |
| static void | _event_dnd_get (GtkWidget *widget, GdkDragContext *context, GtkSelectionData *selection_data, const guint target_type, const guint time, dt_lib_module_t *self) |
| static void | _event_dnd_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint target_type, guint time, dt_lib_module_t *self) |
| static gboolean | _dnd_expand_timeout (dt_lib_module_t *self) |
| static gboolean | _dnd_scroll_timeout (dt_lib_module_t *self) |
| static gboolean | _event_dnd_motion (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time, dt_lib_module_t *self) |
| static void | _event_dnd_end (GtkWidget *widget, GdkDragContext *context, dt_lib_module_t *self) |
| static void | _show_manage_window (GtkMenuItem *menuitem, dt_lib_module_t *self) |
| static void | _refresh_suggestions (dt_lib_module_t *self) |
| static void | _confidence_changed (GtkSpinButton *spin, dt_lib_module_t *self) |
| static void | _recent_tags_changed (GtkSpinButton *spin, dt_lib_module_t *self) |
| static void | _validate_button_clicked (GtkButton *button, dt_lib_module_t *self) |
| void | gui_init (dt_lib_module_t *self) |
| void | gui_cleanup (dt_lib_module_t *self) |
| static gboolean | _lib_tagging_tag_key_press (GtkWidget *entry, GdkEventKey *event, dt_lib_module_t *self) |
| static gboolean | _lib_tagging_tag_destroy (GtkWidget *widget, GdkEvent *event, gpointer user_data) |
| static int | _get_recent_tags_list_length () |
| void | set_preferences (void *menu, dt_lib_module_t *self) |
| #define FLOATING_ENTRY_WIDTH DT_PIXEL_APPLY_DPI(150) |
| #define NEW_TOGGLE_BUTTON | ( | paint, | |
| callback, | |||
| tooltip, | |||
| action | |||
| ) |
| typedef enum dt_lib_tagging_cols_t dt_lib_tagging_cols_t |
| typedef struct dt_lib_tagging_t dt_lib_tagging_t |
| typedef struct dt_tag_op_t dt_tag_op_t |
| typedef enum dt_tag_sort_id dt_tag_sort_id |
| anonymous enum |
| enum dt_tag_sort_id |
|
static |
Definition at line 1935 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), _show_tag_on_view(), d, dt_lib_module_t::data, dt_free, dt_gui_main_window(), dt_image_synch_xmps(), dt_tag_exists(), dt_tag_free_result(), dt_tag_get_tags_images(), dt_tag_rename(), dt_tagging_completion_refresh(), FALSE, IS_NULL_PTR, and TRUE.
Referenced by _event_dnd_received(), and _pop_menu_dictionary_change_path().
|
static |
Definition at line 1242 of file tagging.c.
References _detach_tagids(), DT_LIB_TAGGING_COL_ID, model, and TRUE.
Referenced by gui_init().
|
static |
Definition at line 1268 of file tagging.c.
References _is_user_tag(), DT_LIB_TAGGING_COL_ID, and model.
Referenced by gui_init().
|
static |
Definition at line 1338 of file tagging.c.
References _detach_tagids(), _selected_tagids(), _unselect_all_in_view(), d, dt_lib_module_t::data, dt_keys_mainpad_alternatives(), FALSE, key, TRUE, and view.
Referenced by gui_init().
|
static |
Definition at line 2698 of file tagging.c.
References _init_treeview(), _update_layout(), dt_bauhaus_combobox_get(), dt_conf_set_bool(), and dt_gui_widgets_suppressed().
Referenced by gui_init().
|
static |
Definition at line 704 of file tagging.c.
References _calculate_sel_on_path(), _propagate_sel_to_parents(), DT_LIB_TAGGING_COL_SEL, DT_TS_ALL_IMAGES, DT_TS_NO_IMAGE, FALSE, and model.
Referenced by _calculate_sel_on_path(), and _calculate_sel_on_tree().
|
static |
Definition at line 785 of file tagging.c.
References _calculate_sel_on_path(), _find_root_iter_iter(), _reset_sel_on_path(), FALSE, model, and TRUE.
Referenced by _delete_tree_path(), and _update_attached_count().
|
static |
Definition at line 1277 of file tagging.c.
References _detach_tagids(), _is_user_tag(), _pop_menu_attached(), _unselect_all_in_view(), d, dt_lib_module_t::data, DT_LIB_TAGGING_COL_ID, FALSE, model, TRUE, and view.
Referenced by gui_init().
|
static |
Definition at line 2340 of file tagging.c.
References _pop_menu_dictionary(), _unselect_all_in_view(), button_pressed(), d, dt_lib_module_t::data, dt_free, DT_LIB_TAGGING_COL_PATH, dt_modifier_is(), FALSE, model, TRUE, and view.
Referenced by gui_init().
|
static |
Definition at line 653 of file tagging.c.
References _refresh_collection_tags(), _update_atdetach_buttons(), d, and dt_lib_module_t::data.
Referenced by _pop_menu_dictionary_goto_collection_back(), _pop_menu_dictionary_goto_tag_collection(), _raise_signal_tag_changed(), gui_cleanup(), and gui_init().
|
static |
Definition at line 2753 of file tagging.c.
References d, dt_lib_module_t::data, dt_free, FALSE, IS_NULL_PTR, key, model, and res.
Referenced by _lib_tagging_tag_show_accel(), and gui_init().
|
static |
Definition at line 3060 of file tagging.c.
References _refresh_suggestions(), dt_conf_set_int(), and dt_gui_widgets_suppressed().
Referenced by gui_init().
|
static |
record last tag used
Definition at line 1367 of file tagging.c.
References _entry_clear_suppressed(), _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), _save_last_tag_used(), _show_tag_on_view(), d, dt_lib_module_t::data, dt_image_synch_xmps(), dt_selection_get_global(), dt_selection_get_list(), dt_tag_attach_string_list(), dt_tagging_completion_refresh(), FALSE, IS_NULL_PTR, res, and TRUE.
Referenced by _enter_key_pressed(), _new_button_clicked(), and _validate_button_clicked().
|
static |
Definition at line 2135 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), d, dt_lib_module_t::data, dt_conf_get_bool(), dt_control_log(), dt_free, dt_gui_main_window(), dt_gui_refocus_parent(), dt_image_synch_xmps(), dt_osx_disallow_fullscreen(), dt_tag_get_images(), dt_tag_get_name(), dt_tag_remove(), dt_tagging_completion_refresh(), FALSE, IS_NULL_PTR, name, res, t, and TRUE.
Referenced by _pop_menu_dictionary_delete_selected().
|
static |
Definition at line 840 of file tagging.c.
References _calculate_sel_on_tree(), _delete_tree_path(), dt_free, DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_SEL, DT_TS_NO_IMAGE, FALSE, model, and TRUE.
Referenced by _delete_tree_path(), and _pop_menu_dictionary_delete_node().
|
static |
Definition at line 1093 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), d, dt_lib_module_t::data, dt_act_on_get_images(), dt_image_synch_xmps(), dt_tag_detach_images(), dt_tag_get_images_from_list(), dt_tagging_completion_refresh(), FALSE, IS_NULL_PTR, t, and TRUE.
Referenced by _attached_delete_icon_activated(), _attached_key_pressed(), _click_on_view_attached(), _pop_menu_attached_detach(), and _pop_menu_attached_detach_all().
|
static |
Definition at line 2399 of file tagging.c.
References _selection_get_first(), _unselect_all_in_view(), d, dt_lib_module_t::data, dt_keys_mainpad_alternatives(), dt_modifier_is(), FALSE, key, model, res, TRUE, and view.
Referenced by gui_init().
|
static |
Definition at line 2828 of file tagging.c.
References d, dt_lib_module_t::data, dt_free, DT_LIB_TAGGING_COL_PATH, FALSE, model, and name.
Referenced by _dnd_scroll_timeout(), _event_dnd_end(), and _event_dnd_received().
|
static |
Definition at line 2938 of file tagging.c.
References d, dt_lib_module_t::data, and FALSE.
Referenced by _event_dnd_motion().
|
static |
Definition at line 2948 of file tagging.c.
References _dnd_clear_root(), d, dt_lib_module_t::data, DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_FLAGS, DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_SEL, DT_LIB_TAGGING_COL_TAG, DT_LIB_TAGGING_COL_VISIBLE, FALSE, and TRUE.
Referenced by _event_dnd_motion().
|
static |
Definition at line 2707 of file tagging.c.
References _init_treeview(), d, dt_lib_module_t::data, dt_conf_set_bool(), and dt_gui_widgets_suppressed().
Referenced by gui_init().
|
static |
Definition at line 1417 of file tagging.c.
References _create_tag_from_entry(), _entry_clear_suppressed(), _select_next_user_attached_tag(), d, dt_lib_module_t::data, dt_gui_main_window(), dt_gui_widgets_suppressed(), dt_keys_mainpad_alternatives(), FALSE, key, and TRUE.
Referenced by gui_init().
|
static |
Definition at line 1448 of file tagging.c.
References _entry_clear_suppressed(), and position().
Referenced by gui_init().
|
static |
Definition at line 1411 of file tagging.c.
References dt_gui_widget_freeze, and dt_tagging_entry_clear().
Referenced by _create_tag_from_entry(), _enter_key_pressed(), _entry_clear_icon(), and gui_reset().
|
static |
Definition at line 2843 of file tagging.c.
References d, dt_lib_module_t::data, and TRUE.
Referenced by gui_init().
|
static |
Definition at line 3030 of file tagging.c.
References _dnd_clear_root(), d, dt_lib_module_t::data, and FALSE.
Referenced by gui_init().
|
static |
Definition at line 2864 of file tagging.c.
References _DWORD, and DND_TARGET_TAG.
Referenced by gui_init().
|
static |
Definition at line 2991 of file tagging.c.
References _dnd_expand_timeout(), _dnd_scroll_timeout(), d, dt_lib_module_t::data, IS_NULL_PTR, TRUE, and x.
Referenced by gui_init().
|
static |
Definition at line 2872 of file tagging.c.
References _apply_rename_path(), _dnd_clear_root(), _init_treeview(), _raise_signal_tag_changed(), _update_attached_count(), d, dt_lib_module_t::data, DND_TARGET_IMGID, DND_TARGET_TAG, dt_free, dt_image_synch_xmp(), DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, dt_tag_attach_images(), dt_util_dstrcat(), FALSE, i, IS_NULL_PTR, leave(), model, name, TRUE, and x.
Referenced by gui_init().
|
static |
Definition at line 2521 of file tagging.c.
References dt_conf_get_string_const(), dt_conf_set_string(), dt_control_log(), dt_free, dt_gui_main_window(), dt_tag_export(), IS_NULL_PTR, and TRUE.
Referenced by gui_init().
|
static |
Definition at line 762 of file tagging.c.
References dt_free, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_SEL, DT_TS_ALL_IMAGES, and model.
Referenced by _calculate_sel_on_tree().
|
static |
Definition at line 682 of file tagging.c.
References _find_tag_iter_tagid(), DT_LIB_TAGGING_COL_ID, FALSE, model, and TRUE.
Referenced by _find_tag_iter_tagid(), _pop_menu_attached_attach_to_all(), _update_attached_count(), and _update_sel_on_tree().
|
static |
Definition at line 298 of file tagging.c.
References _find_tag_iter_tagname(), dt_free, DT_LIB_TAGGING_COL_PATH, FALSE, IS_NULL_PTR, and model.
Referenced by _find_tag_iter_tagname(), and _show_tag_on_view().
|
static |
Definition at line 3637 of file tagging.c.
References dt_conf_get_int().
Referenced by _save_last_tag_used(), and _size_recent_tags_list().
|
static |
Definition at line 2490 of file tagging.c.
References _init_treeview(), dt_conf_get_string_const(), dt_conf_set_string(), dt_control_log(), dt_free, dt_gui_main_window(), dt_tag_import(), FALSE, and IS_NULL_PTR.
Referenced by gui_init().
|
static |
Definition at line 413 of file tagging.c.
References _propagate_sel_to_parents(), _set_matching_tag_visibility(), _sort_attached_list(), _sort_dictionary_list(), _tree_reveal_func(), d, dt_lib_module_t::data, dt_control_get_mouse_over_id(), dt_free, DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_FLAGS, DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_SEL, DT_LIB_TAGGING_COL_SYNONYM, DT_LIB_TAGGING_COL_TAG, DT_LIB_TAGGING_COL_VISIBLE, dt_selection_get_global(), dt_selection_get_length(), dt_sort_tag(), dt_tag_free_result(), dt_tag_get_attached(), dt_tag_get_suggestions(), dt_tag_get_with_usage(), DT_TS_NO_IMAGE, dt_util_dstrcat(), FALSE, i, IS_NULL_PTR, model, store, TRUE, and view.
Referenced by _apply_rename_path(), _attached_view_combo_changed(), _create_tag_from_entry(), _delete_tagids(), _detach_tagids(), _dttags_check_toggled(), _event_dnd_received(), _import_button_clicked(), _lib_selection_changed_callback(), _lib_tagging_tag_key_press(), _lib_tagging_tag_redo_accel(), _lib_tagging_tags_changed_callback(), _pop_menu_attached_attach_to_all(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_edit_tag(), _pop_menu_dictionary_set_as_tag(), _postponed_update(), _refresh_suggestions(), _toggle_suggestion_button_callback(), _toggle_tree_button_callback(), gui_init(), gui_reset(), and set_params().
|
static |
Definition at line 166 of file tagging.c.
References dt_free, DT_LIB_TAGGING_COL_PATH, and model.
Referenced by _attached_delete_icon_show(), _click_on_view_attached(), _pop_menu_attached_detach_all(), _select_next_user_attached_tag(), and _select_previous_user_attached_tag().
|
static |
Definition at line 899 of file tagging.c.
References _init_treeview(), _update_atdetach_buttons(), _update_sel_on_tree(), d, and dt_lib_module_t::data.
Referenced by gui_cleanup(), and gui_init().
|
static |
Definition at line 637 of file tagging.c.
References _postponed_update(), and dt_lib_queue_postponed_update().
Referenced by gui_cleanup(), and gui_init().
|
static |
Definition at line 3528 of file tagging.c.
References FALSE.
Referenced by _lib_tagging_tag_show_accel().
|
static |
record last tag used
Definition at line 3488 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), _save_last_tag_used(), d, dt_lib_module_t::data, dt_gui_main_window(), dt_image_synch_xmps(), dt_keys_mainpad_alternatives(), dt_tag_attach_string_list(), dt_tagging_completion_refresh(), FALSE, key, res, and TRUE.
Referenced by _lib_tagging_tag_show_accel().
|
static |
Re-apply the most recent tag expression to the current target images.
Definition at line 3538 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), d, dt_lib_module_t::data, dt_act_on_get_images(), dt_image_synch_xmps(), dt_tag_attach_string_list(), dt_tagging_completion_refresh(), res, and TRUE.
Referenced by gui_init().
|
static |
Open the floating quick-tag entry used by the historical tagging shortcut, now registered in the active view accel groups.
Definition at line 3565 of file tagging.c.
References _completion_match_func(), _lib_tagging_tag_destroy(), _lib_tagging_tag_key_press(), d, dt_lib_module_t::data, dt_accels_disconnect_on_text_input(), dt_act_on_get_images(), DT_COMPL_COL_PATH, dt_control_log(), dt_gui_center_widget(), dt_gui_main_window(), dt_osx_disallow_fullscreen(), dt_tagging_completion_match_selected(), FALSE, FLOATING_ENTRY_WIDTH, TRUE, window, and x.
Referenced by gui_init().
|
static |
Definition at line 643 of file tagging.c.
References _init_treeview(), _refresh_collection_tags(), d, dt_lib_module_t::data, and dt_tagging_completion_refresh().
Referenced by _pop_menu_dictionary_delete_node(), _raise_signal_tag_changed(), gui_cleanup(), and gui_init().
|
static |
Definition at line 1397 of file tagging.c.
References _create_tag_from_entry(), d, and dt_lib_module_t::data.
Referenced by gui_init().
|
static |
Definition at line 1199 of file tagging.c.
References _pop_menu_attached_attach_to_all(), _pop_menu_attached_detach(), _pop_menu_attached_detach_all(), _selection_get_first(), d, dt_lib_module_t::data, DT_LIB_TAGGING_COL_SEL, DT_TS_SOME_IMAGES, and model.
Referenced by _click_on_view_attached().
|
static |
record last tag used
Definition at line 1122 of file tagging.c.
References _find_tag_iter_tagid(), _init_treeview(), _raise_signal_tag_changed(), _save_last_tag_used(), _selection_get_first(), d, dt_lib_module_t::data, dt_image_synch_xmp(), DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_ID, dt_tag_attach(), dt_tag_get_name(), dt_tag_images_count(), model, res, store, and TRUE.
Referenced by _pop_menu_attached().
|
static |
Definition at line 1170 of file tagging.c.
References _detach_tagids(), _selected_tagids(), d, and dt_lib_module_t::data.
Referenced by _pop_menu_attached().
|
static |
Definition at line 1179 of file tagging.c.
References _detach_tagids(), _is_user_tag(), d, dt_lib_module_t::data, DT_LIB_TAGGING_COL_ID, and model.
Referenced by _pop_menu_attached().
|
static |
Definition at line 2227 of file tagging.c.
References _pop_menu_dictionary_change_path(), _pop_menu_dictionary_copy_tag(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_delete_selected(), _pop_menu_dictionary_edit_tag(), _pop_menu_dictionary_goto_collection_back(), _pop_menu_dictionary_goto_tag_collection(), _pop_menu_dictionary_set_as_tag(), _selection_get_first(), d, dt_lib_module_t::data, dt_collection_serialize(), dt_free, DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_ID, and model.
Referenced by _click_on_view_dictionary().
|
static |
Definition at line 1994 of file tagging.c.
References _apply_rename_path(), _selection_get_first(), d, dt_lib_module_t::data, dt_accels_disconnect_on_text_input(), dt_free, DT_GUI_BOX_SPACING, dt_gui_main_window(), dt_gui_refocus_parent(), DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, dt_osx_disallow_fullscreen(), dt_tag_count_tags_images(), FALSE, model, TRUE, and view.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 2118 of file tagging.c.
References _selection_get_first(), d, dt_lib_module_t::data, dt_free, DT_LIB_TAGGING_COL_PATH, and model.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 1564 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _selection_get_first(), _show_tag_on_view(), d, dt_lib_module_t::data, dt_accels_disconnect_on_text_input(), dt_free, DT_GUI_BOX_SPACING, dt_gui_main_window(), dt_gui_refocus_parent(), dt_gui_textview_set_padding(), DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_TAG, dt_osx_disallow_fullscreen(), dt_tag_exists(), dt_tag_new(), dt_tag_set_flags(), dt_tag_set_synonyms(), dt_tagging_completion_refresh(), DT_TF_CATEGORY, DT_TF_PRIVATE, dt_util_dstrcat(), FALSE, model, TRUE, and view.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 1472 of file tagging.c.
References _delete_tree_path(), _init_treeview(), _lib_tagging_tags_changed_callback(), _raise_signal_tag_changed(), _refresh_collection_tags(), _selection_get_first(), d, dt_lib_module_t::data, dt_control_log(), dt_control_signal_block_by_func(), dt_control_signal_get_global(), dt_control_signal_unblock_by_func(), dt_free, DT_GUI_BOX_SPACING, dt_gui_main_window(), dt_gui_refocus_parent(), dt_image_synch_xmps(), DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, dt_osx_disallow_fullscreen(), dt_tag_count_tags_images(), dt_tag_free_result(), dt_tag_get_tags_images(), dt_tag_remove_list(), dt_tagging_completion_refresh(), FALSE, model, res, store, TRUE, and view.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 2194 of file tagging.c.
References _delete_tagids(), _selected_tagids(), d, and dt_lib_module_t::data.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 1692 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _refresh_collection_tags(), _selection_get_first(), _update_tag_name_per_name(), d, dt_lib_module_t::data, dt_accels_disconnect_on_text_input(), dt_free, DT_GUI_BOX_SPACING, dt_gui_main_window(), dt_gui_refocus_parent(), dt_gui_textview_set_padding(), dt_image_synch_xmps(), DT_LIB_TAGGING_COL_FLAGS, DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_SYNONYM, dt_osx_disallow_fullscreen(), dt_tag_count_tags_images(), dt_tag_exists(), dt_tag_free_result(), dt_tag_get_flags(), dt_tag_get_tags_images(), dt_tag_rename(), dt_tag_set_flags(), dt_tag_set_synonyms(), dt_tagging_completion_refresh(), DT_TF_CATEGORY, DT_TF_PRIVATE, FALSE, flags, model, dt_tag_op_t::newtagname, dt_tag_op_t::oldtagname, store, dt_tag_op_t::tree_flag, TRUE, and view.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 2106 of file tagging.c.
References _collection_updated_callback(), d, dt_lib_module_t::data, dt_collection_deserialize(), dt_control_signal_block_by_func(), dt_control_signal_get_global(), and dt_control_signal_unblock_by_func().
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 2082 of file tagging.c.
References _collection_updated_callback(), _selection_get_first(), d, dt_lib_module_t::data, dt_collection_deserialize(), DT_COLLECTION_PROP_TAG, dt_collection_serialize(), dt_control_signal_block_by_func(), dt_control_signal_get_global(), dt_control_signal_unblock_by_func(), dt_free, DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_PATH, and model.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 2202 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _selection_get_first(), _show_tag_on_view(), d, dt_lib_module_t::data, dt_control_log(), dt_free, DT_LIB_TAGGING_COL_PATH, dt_tag_new(), dt_tagging_completion_refresh(), FALSE, model, TRUE, and view.
Referenced by _pop_menu_dictionary().
|
static |
Definition at line 631 of file tagging.c.
References _init_treeview(), and _update_atdetach_buttons().
Referenced by _lib_tagging_redraw_callback().
|
static |
Definition at line 204 of file tagging.c.
References DT_LIB_TAGGING_COL_SEL, DT_TS_NO_IMAGE, DT_TS_SOME_IMAGES, and model.
Referenced by _calculate_sel_on_path(), _init_treeview(), and _update_sel_on_tree().
|
static |
Definition at line 664 of file tagging.c.
References _collection_updated_callback(), _lib_tagging_tags_changed_callback(), d, dt_lib_module_t::data, dt_control_signal_block_by_func(), dt_control_signal_get_global(), dt_control_signal_unblock_by_func(), DT_DEBUG_CONTROL_SIGNAL_RAISE, and DT_SIGNAL_TAG_CHANGED.
Referenced by _apply_rename_path(), _create_tag_from_entry(), _delete_tagids(), _detach_tagids(), _event_dnd_received(), _lib_tagging_tag_key_press(), _lib_tagging_tag_redo_accel(), _pop_menu_attached_attach_to_all(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_edit_tag(), _pop_menu_dictionary_set_as_tag(), and set_params().
|
static |
Definition at line 3067 of file tagging.c.
References _refresh_suggestions(), _size_recent_tags_list(), dt_conf_set_int(), and dt_gui_widgets_suppressed().
Referenced by gui_init().
|
static |
Definition at line 2737 of file tagging.c.
References d, dt_lib_module_t::data, dt_tag_free_result(), dt_tag_get_collection_tags(), IS_NULL_PTR, and t.
Referenced by _apply_rename_path(), _collection_updated_callback(), _create_tag_from_entry(), _delete_tagids(), _detach_tagids(), _lib_tagging_tag_key_press(), _lib_tagging_tag_redo_accel(), _lib_tagging_tags_changed_callback(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_edit_tag(), and gui_init().
|
static |
Definition at line 3053 of file tagging.c.
References _init_treeview(), d, and dt_lib_module_t::data.
Referenced by _confidence_changed(), and _recent_tags_changed().
|
static |
Definition at line 721 of file tagging.c.
References _reset_sel_on_path(), DT_LIB_TAGGING_COL_SEL, DT_TS_NO_IMAGE, DT_TS_SOME_IMAGES, FALSE, and model.
Referenced by _calculate_sel_on_tree(), and _reset_sel_on_path().
|
static |
Definition at line 741 of file tagging.c.
References _reset_sel_on_path_full(), DT_LIB_TAGGING_COL_SEL, DT_TS_NO_IMAGE, FALSE, and model.
Referenced by _reset_sel_on_path_full(), and _update_sel_on_tree().
|
static |
Definition at line 2451 of file tagging.c.
References dt_free, DT_LIB_TAGGING_COL_FLAGS, DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_SYNONYM, DT_LIB_TAGGING_COL_TAG, DT_TF_PRIVATE, dt_util_dstrcat(), FALSE, flags, model, res, tooltip, TRUE, and x.
Referenced by gui_init().
|
static |
Definition at line 3687 of file tagging.c.
References _get_recent_tags_list_length(), _size_recent_tags_list(), d, dt_conf_get_string_const(), dt_conf_set_string(), dt_free, dt_free_gpointer(), dt_util_glist_to_str(), and dt_util_str_to_glist().
Referenced by _create_tag_from_entry(), _lib_tagging_tag_key_press(), and _pop_menu_attached_attach_to_all().
|
static |
Definition at line 392 of file tagging.c.
References _is_user_tag(), _select_previous_user_attached_tag(), _show_iter_on_view(), FALSE, i, model, TRUE, and view.
Referenced by _enter_key_pressed().
|
static |
Definition at line 371 of file tagging.c.
References _is_user_tag(), _show_iter_on_view(), FALSE, i, model, TRUE, and view.
Referenced by _select_next_user_attached_tag().
|
static |
Definition at line 1073 of file tagging.c.
References DT_LIB_TAGGING_COL_ID, model, r, and view.
Referenced by _attached_key_pressed(), _pop_menu_attached_detach(), and _pop_menu_dictionary_delete_selected().
|
static |
Definition at line 184 of file tagging.c.
Referenced by _dictionary_key_pressed(), _pop_menu_attached(), _pop_menu_attached_attach_to_all(), _pop_menu_dictionary(), _pop_menu_dictionary_change_path(), _pop_menu_dictionary_copy_tag(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_edit_tag(), _pop_menu_dictionary_goto_tag_collection(), and _pop_menu_dictionary_set_as_tag().
|
static |
Definition at line 914 of file tagging.c.
References d, dt_lib_module_t::data, and IS_NULL_PTR.
Referenced by _tag_name_changed(), gui_init(), and gui_reset().
|
static |
Definition at line 218 of file tagging.c.
References d, dt_lib_module_t::data, dt_free, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_SYNONYM, DT_LIB_TAGGING_COL_VISIBLE, dt_util_dstrcat(), FALSE, model, and TRUE.
Referenced by _init_treeview(), and _tag_name_changed().
|
static |
Definition at line 331 of file tagging.c.
References model, TRUE, and view.
Referenced by _select_next_user_attached_tag(), _select_previous_user_attached_tag(), and _show_tag_on_view().
|
static |
Definition at line 364 of file tagging.c.
References _show_tag_on_view(), dt_free, TRUE, and view.
Referenced by _tag_name_changed().
|
static |
Definition at line 3045 of file tagging.c.
References d, and dt_lib_module_t::data.
Referenced by set_preferences().
|
static |
Definition at line 346 of file tagging.c.
References _find_tag_iter_tagname(), _show_iter_on_view(), dt_free, model, t, and view.
Referenced by _apply_rename_path(), _create_tag_from_entry(), _pop_menu_dictionary_create_tag(), _pop_menu_dictionary_set_as_tag(), and _show_keyword_on_view().
|
static |
Definition at line 3645 of file tagging.c.
References _get_recent_tags_list_length(), dt_conf_get_string_const(), dt_conf_set_string(), dt_free, and p.
Referenced by _recent_tags_changed(), and _save_last_tag_used().
|
static |
Definition at line 262 of file tagging.c.
References d, dt_lib_module_t::data, DT_TAG_SORT_COUNT_ID, DT_TAG_SORT_NAME_ID, and DT_TAG_SORT_PATH_ID.
Referenced by _init_treeview(), and _sort_combo_changed().
|
static |
Definition at line 2688 of file tagging.c.
References _sort_attached_list(), _sort_dictionary_list(), _update_layout(), dt_bauhaus_combobox_get(), dt_conf_set_bool(), dt_gui_widgets_suppressed(), and FALSE.
Referenced by gui_init().
|
static |
Definition at line 280 of file tagging.c.
References d, dt_lib_module_t::data, DT_TAG_SORT_COUNT_ID, DT_TAG_SORT_NAME_ID, and DT_TAG_SORT_PATH_ID.
Referenced by _init_treeview(), and _sort_combo_changed().
|
static |
Definition at line 2636 of file tagging.c.
References DT_LIB_TAGGING_COL_COUNT, and model.
Referenced by gui_init().
|
static |
Definition at line 2659 of file tagging.c.
References dt_free, DT_LIB_TAGGING_COL_PATH, and model.
Referenced by gui_init().
|
static |
Definition at line 2645 of file tagging.c.
References dt_free, DT_LIB_TAGGING_COL_TAG, IS_NULL_PTR, and model.
Referenced by gui_init().
|
static |
Definition at line 1458 of file tagging.c.
References _set_keyword(), _set_matching_tag_visibility(), _show_keyword_on_view(), _tree_reveal_func(), d, dt_lib_module_t::data, FALSE, model, and store.
Referenced by gui_init().
|
static |
Definition at line 2618 of file tagging.c.
References _init_treeview(), _update_layout(), dt_conf_get_bool(), dt_conf_set_bool(), and dt_gui_widgets_suppressed().
Referenced by gui_init().
|
static |
Definition at line 2627 of file tagging.c.
References _init_treeview(), _update_layout(), dt_conf_get_bool(), dt_conf_set_bool(), and dt_gui_widgets_suppressed().
Referenced by gui_init().
|
static |
Definition at line 245 of file tagging.c.
References DT_LIB_TAGGING_COL_VISIBLE, FALSE, model, state, and TRUE.
Referenced by _init_treeview(), and _tag_name_changed().
|
static |
Definition at line 2823 of file tagging.c.
References _update_atdetach_buttons().
Referenced by gui_init().
|
static |
Definition at line 580 of file tagging.c.
References d, dt_lib_module_t::data, dt_free, DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_FLAGS, DT_LIB_TAGGING_COL_ID, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_TAG, DT_TF_CATEGORY, flags, model, name, and TRUE.
Referenced by _tree_tagname_show_attached(), and _tree_tagname_show_dictionary().
|
static |
Definition at line 616 of file tagging.c.
References _tree_tagname_show(), and model.
Referenced by gui_init().
|
static |
Definition at line 623 of file tagging.c.
References _tree_tagname_show(), and model.
Referenced by gui_init().
|
static |
Definition at line 175 of file tagging.c.
References view.
Referenced by _attached_key_pressed(), _click_on_view_attached(), _click_on_view_dictionary(), and _dictionary_key_pressed().
|
static |
Definition at line 199 of file tagging.c.
References dt_lib_cancel_postponed_update().
Referenced by _collection_updated_callback(), _lib_selection_changed_callback(), _postponed_update(), _tree_selection_changed(), gui_init(), and gui_reset().
|
static |
Definition at line 974 of file tagging.c.
References _calculate_sel_on_tree(), _find_tag_iter_tagid(), DT_LIB_TAGGING_COL_COUNT, DT_LIB_TAGGING_COL_SEL, dt_tag_images_count(), DT_TS_ALL_IMAGES, model, store, and view.
Referenced by _event_dnd_received(), and set_params().
|
static |
Definition at line 2556 of file tagging.c.
References d, dt_lib_module_t::data, dt_bauhaus_combobox_set(), dt_conf_get_bool(), dt_gui_freeze_begin, dt_gui_freeze_end, FALSE, model, n_targets_tags, store, target_list_tags, and TRUE.
Referenced by _attached_view_combo_changed(), _sort_combo_changed(), _toggle_suggestion_button_callback(), _toggle_tree_button_callback(), and gui_init().
|
static |
Definition at line 807 of file tagging.c.
References _find_tag_iter_tagid(), _propagate_sel_to_parents(), _reset_sel_on_path_full(), DT_LIB_TAGGING_COL_SEL, dt_tag_free_result(), dt_tag_get_attached(), FALSE, model, and TRUE.
Referenced by _lib_selection_changed_callback().
|
static |
Definition at line 929 of file tagging.c.
References dt_free, DT_LIB_TAGGING_COL_PATH, DT_LIB_TAGGING_COL_TAG, FALSE, model, dt_tag_op_t::newtagname, dt_tag_op_t::oldtagname, and dt_tag_op_t::tree_flag.
Referenced by _pop_menu_dictionary_edit_tag().
|
static |
Definition at line 3076 of file tagging.c.
References _create_tag_from_entry(), d, and dt_lib_module_t::data.
Referenced by gui_init().
| uint32_t container | ( | dt_lib_module_t * | self | ) |
Definition at line 161 of file tagging.c.
References DT_UI_CONTAINER_PANEL_LEFT_CENTER.
| void * get_params | ( | dt_lib_module_t * | self, |
| int * | size | ||
| ) |
Definition at line 1006 of file tagging.c.
References dt_tag_free_result(), dt_tag_get_attached(), dt_util_dstrcat(), IS_NULL_PTR, size, and TRUE.
| void gui_cleanup | ( | dt_lib_module_t * | self | ) |
Definition at line 3450 of file tagging.c.
References _collection_updated_callback(), _lib_selection_changed_callback(), _lib_tagging_redraw_callback(), _lib_tagging_tags_changed_callback(), d, dt_lib_module_t::data, dt_accels_build_path(), dt_accels_remove_accel(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_DISCONNECT, dt_free, dt_gui_get_accels(), dt_lib_cancel_postponed_update(), and IS_NULL_PTR.
| void gui_init | ( | dt_lib_module_t * | self | ) |
Definition at line 3082 of file tagging.c.
References _attached_delete_icon_activated(), _attached_delete_icon_show(), _attached_key_pressed(), _attached_view_combo_changed(), _click_on_view_attached(), _click_on_view_dictionary(), _collection_updated_callback(), _completion_match_func(), _confidence_changed(), _dictionary_key_pressed(), _dttags_check_toggled(), _enter_key_pressed(), _entry_clear_icon(), _event_dnd_begin(), _event_dnd_end(), _event_dnd_get(), _event_dnd_motion(), _event_dnd_received(), _export_button_clicked(), _import_button_clicked(), _init_treeview(), _lib_selection_changed_callback(), _lib_tagging_redraw_callback(), _lib_tagging_tag_redo_accel(), _lib_tagging_tag_show_accel(), _lib_tagging_tags_changed_callback(), _new_button_clicked(), _recent_tags_changed(), _refresh_collection_tags(), _row_tooltip_setup(), _set_keyword(), _sort_combo_changed(), _sort_tree_count_func(), _sort_tree_path_func(), _sort_tree_tag_func(), _tag_name_changed(), _toggle_suggestion_button_callback(), _toggle_tree_button_callback(), _tree_selection_changed(), _tree_tagname_show_attached(), _tree_tagname_show_dictionary(), _update_atdetach_buttons(), _update_layout(), _validate_button_clicked(), d, dt_lib_module_t::data, dt_accels_disconnect_on_text_input(), dt_accels_new_action_shortcut(), dt_action_button_new(), dt_bauhaus_combobox_add(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_new(), dt_bauhaus_combobox_set_selected_text_align(), dt_bauhaus_get_global(), dt_bauhaus_widget_set_label(), DT_COMPL_COL_PATH, DT_COMPL_NUM_COLS, dt_conf_get_int(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_CONNECT, DT_GUI_BOX_SPACING, dt_gui_get_accels(), dt_gui_main_window(), DT_GUI_MODULE, DT_LIB_TAGGING_COL_VISIBLE, DT_LIB_TAGGING_NUM_COLS, dt_osx_disallow_fullscreen(), DT_PIXEL_APPLY_DPI, DT_PRIMARY_MASK, DT_SIGNAL_COLLECTION_CHANGED, DT_SIGNAL_MOUSE_OVER_IMAGE_CHANGE, DT_SIGNAL_SELECTION_CHANGED, DT_SIGNAL_TAG_CHANGED, DT_TAG_SORT_COUNT_ID, DT_TAG_SORT_NAME_ID, DT_TAG_SORT_PATH_ID, dt_tagging_completion_match_selected(), dt_tagging_completion_refresh(), DT_UI_RESIZE_STATIC, dt_ui_scroll_wrap(), dtgtk_button_new(), dtgtk_cairo_paint_check_mark(), dtgtk_cairo_paint_plus_simple(), dtgtk_cairo_paint_treelist(), dtgtk_cell_renderer_button_new(), FALSE, model, n_targets_tags_dest, NEW_TOGGLE_BUTTON, target_list_tags_dest, dt_lib_module_t::timeout_handle, TRUE, view, and dt_lib_module_t::widget.
| void gui_reset | ( | dt_lib_module_t * | self | ) |
Definition at line 2716 of file tagging.c.
References _entry_clear_suppressed(), _init_treeview(), _set_keyword(), _update_atdetach_buttons(), d, and dt_lib_module_t::data.
| void init_presets | ( | dt_lib_module_t * | self | ) |
| const char * name | ( | struct dt_lib_module_t * | self | ) |
| int position | ( | ) |
Definition at line 2727 of file tagging.c.
Referenced by _entry_clear_icon().
| int set_params | ( | dt_lib_module_t * | self, |
| const void * | params, | ||
| int | size | ||
| ) |
Definition at line 1028 of file tagging.c.
References _init_treeview(), _raise_signal_tag_changed(), _update_attached_count(), d, dt_lib_module_t::data, dt_act_on_get_images(), dt_image_synch_xmp(), dt_tag_set_tags(), FALSE, IS_NULL_PTR, size, and TRUE.
| void set_preferences | ( | void * | menu, |
| dt_lib_module_t * | self | ||
| ) |
Definition at line 3680 of file tagging.c.
References _show_manage_window().
| const char ** views | ( | dt_lib_module_t * | self | ) |