Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
act_on.c File Reference
#include "common/act_on.h"
#include "common/collection.h"
#include "common/selection.h"
#include "control/control.h"
#include "views/view.h"
+ Include dependency graph for act_on.c:

Functions

GList * dt_act_on_get_images ()
 
int dt_act_on_get_images_nb (const gboolean only_visible, const gboolean force)
 
int32_t dt_act_on_get_first_image ()
 

Function Documentation

◆ dt_act_on_get_first_image()

◆ dt_act_on_get_images()

GList * dt_act_on_get_images ( )

We try selection first because it is global and should be reset when entering a view. If the selection matters to the view, it should be copied to dt_view_active_images_set() when entering. Selection can be restored from active_images when leaving the view. Interactions with filmroll in other views than lighttable are sent to selection. Therefore, if selection, target it. If not, target what should be the image of interest for the current view.

References darktable, dt_control_get_keyboard_over_id(), dt_selection_get_length(), dt_selection_get_list(), dt_view_active_images_get_all(), dt_view_active_images_get_first(), and darktable_t::selection.

Referenced by _act_on_cb(), _colorlabels_callback(), _control_gpx_apply_job_create(), _detach_selected_tag(), _event_dnd_begin(), _export_button_clicked(), _rating_callback(), _styles_row_activated_callback(), _update(), _view_map_changed_callback_delayed(), apply_clicked(), compress_history_callback(), create_clicked(), delete_history_callback(), dt_control_datetime_job_create(), dt_control_generic_images_job_create(), dt_image_set_location(), dt_image_synch_xmp(), dt_metadata_set(), dt_tag_attach(), dt_tag_detach(), entry_activated(), and set_params().

◆ dt_act_on_get_images_nb()