![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for signal.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | DT_DEBUG_CONTROL_SIGNAL_RAISE(ctlsig, signal, ...) |
| #define | DT_DEBUG_CONTROL_SIGNAL_CONNECT(ctlsig, signal, cb, user_data) |
| #define | DT_DEBUG_CONTROL_SIGNAL_DISCONNECT(ctlsig, cb, user_data) |
| #define | DT_DEBUG_CONTROL_SIGNAL_DISCONNECT_ALL(ctlsig, user_data) |
Typedefs | |
| typedef G_BEGIN_DECLS enum dt_signal_t | dt_signal_t |
| enum of signals to listen for in darktable. | |
| typedef enum dt_debug_signal_action_t | dt_debug_signal_action_t |
Functions | |
| int32_t | dt_get_signal_debug_acts (void) |
| gboolean | dt_get_signal_debug (const int signal) |
| struct dt_control_signal_t * | dt_control_signal_init () |
| struct dt_control_signal_t * | dt_control_signal_get_global (void) |
| void | dt_control_signal_cleanup (struct dt_control_signal_t *ctlsig) |
| void | dt_control_signal_raise (const struct dt_control_signal_t *ctlsig, const dt_signal_t signal,...) |
| void | dt_control_signal_connect (const struct dt_control_signal_t *ctlsig, const dt_signal_t signal, GCallback cb, gpointer user_data) |
| void | dt_control_signal_disconnect (const struct dt_control_signal_t *ctlsig, GCallback cb, gpointer user_data) |
| void | dt_control_signal_disconnect_all (const struct dt_control_signal_t *ctlsig, gpointer user_data) |
| void | dt_control_signal_block_by_func (const struct dt_control_signal_t *ctlsig, GCallback cb, gpointer user_data) |
| void | dt_control_signal_unblock_by_func (const struct dt_control_signal_t *ctlsig, GCallback cb, gpointer user_data) |
| #define DT_DEBUG_CONTROL_SIGNAL_CONNECT | ( | ctlsig, | |
| signal, | |||
| cb, | |||
| user_data | |||
| ) |
| #define DT_DEBUG_CONTROL_SIGNAL_DISCONNECT | ( | ctlsig, | |
| cb, | |||
| user_data | |||
| ) |
| #define DT_DEBUG_CONTROL_SIGNAL_DISCONNECT_ALL | ( | ctlsig, | |
| user_data | |||
| ) |
| #define DT_DEBUG_CONTROL_SIGNAL_RAISE | ( | ctlsig, | |
| signal, | |||
| ... | |||
| ) |
| typedef enum dt_debug_signal_action_t dt_debug_signal_action_t |
| typedef G_BEGIN_DECLS enum dt_signal_t dt_signal_t |
enum of signals to listen for in darktable.
| enum dt_signal_t |
enum of signals to listen for in darktable.
| Enumerator | |
|---|---|
| DT_SIGNAL_MOUSE_OVER_IMAGE_CHANGE | This signal is raised when mouse hovers over image thumbs both on lighttable and in the filmstrip. no param, no returned value. |
| DT_SIGNAL_ACTIVE_IMAGES_CHANGE | This signal is raised when image shown in the main view change no param, no returned value. |
| DT_SIGNAL_CONTROL_REDRAW_ALL | This signal is raised when dt_control_queue_redraw() is called. no param, no returned value. |
| DT_SIGNAL_CONTROL_REDRAW_CENTER | This signal is raised when dt_control_queue_redraw_center() is called. no param, no returned value. |
| DT_SIGNAL_VIEWMANAGER_VIEW_CHANGED | This signal is raised by viewmanager when a view has changed. 1 : dt_view_t * the old view 2 : dt_view_t * the new (current) view no returned value. |
| DT_SIGNAL_VIEWMANAGER_VIEW_CANNOT_CHANGE | This signal is raised by viewmanager when a view has changed. 1 : dt_view_t * the old view 2 : dt_view_t * the new (current) view no returned value. |
| DT_SIGNAL_VIEWMANAGER_THUMBTABLE_ACTIVATE | \bief This signal is raised when a thumb is doubleclicked in thumbtable (filemananger, filmstrip) 1 : int the imageid of the thumbnail no returned value |
| DT_SIGNAL_VIEWMANAGER_FILMSTRIP_ACTIVATE | This signal is raised when a thumb is single-clicked in the filmstrip. Views that want filmstrip click-to-commit behavior need to opt in explicitly, so thumbtable activation keeps its double-click semantics everywhere else. 1 : int the imageid of the thumbnail no returned value. |
| DT_SIGNAL_VIEWMANAGER_FILMSTRIP_DRAG_BEGIN | This signal is raised when a drag starts from the filmstrip. Views that need filmstrip drags to commit a working image first can opt in explicitly before dt_act_on_get_images() freezes the drag payload. 1 : int the imageid of the thumbnail under the pointer no returned value. |
| DT_SIGNAL_COLLECTION_CHANGED | This signal is raised when collection changed. To avoid leaking the list, dt_collection_t is connected to this event and responsible of that. 1 : dt_collection_change_t the reason why the collection has changed 2 : dt_collection_properties_t the property that has changed 3 : GList of imageids that have changed (can be null if it's a global change) 4 : next untouched imgid in the list (-1 if no list) no returned value. image list not to be freed by the caller, automatically freed |
| DT_SIGNAL_SELECTION_CHANGED | This signal is raised when the selection is changed no param, no returned value. |
| DT_SIGNAL_TAG_CHANGED | This signal is raised when a tag is added/deleted/changed |
| DT_SIGNAL_GEOTAG_CHANGED | This signal is raised when a geotag is added/deleted/changed |
| DT_SIGNAL_METADATA_CHANGED | This signal is raised when metadata status (shown/hidden) or value has changed. |
| DT_SIGNAL_IMAGE_INFO_CHANGED | This signal is raised when any of image info has changed image list not to be freed by the caller, automatically freed
|
| DT_SIGNAL_STYLE_CHANGED | This signal is raised when a style is added/deleted/changed |
| DT_SIGNAL_IMAGES_ORDER_CHANGE | This signal is raised to request image order change. |
| DT_SIGNAL_FILMROLLS_CHANGED | This signal is raised when a filmroll is deleted/changed but not imported.
|
| DT_SIGNAL_FILMROLLS_REMOVED | This signal is raised only when a filmroll is removed. |
| DT_SIGNAL_PRESETS_CHANGED | |
| DT_SIGNAL_DEVELOP_INITIALIZE | This signal is raised when darktable.develop is initialized.
|
| DT_SIGNAL_DEVELOP_PREVIEW_PIPE_FINISHED | This signal is raised when develop preview pipe process is finished no param, no returned value. |
| DT_SIGNAL_DEVELOP_UI_PIPE_FINISHED | This signal is raised when pipe is finished and the gui is attached no param, no returned value. |
| DT_SIGNAL_CACHELINE_READY | This signal is raised when one cacheline write lock is released. 1 : uint64_t cacheline hash no returned value. |
| DT_SIGNAL_DEVELOP_MODULEGROUPS_SET | This signal is raised to request a modulegroups update. 1 : dt_iop_module_t *module, or NULL to only refresh visibility no returned value. |
| DT_SIGNAL_DEVELOP_HISTORY_WILL_CHANGE | This signal is raised when develop history is about to be changed 1 : GList * the current history 2 : uint32_t the correpsing history end 3 : GList * the current iop-order list no returned value. |
| DT_SIGNAL_DEVELOP_HISTORY_CHANGE | This signal is raised when develop history is changed no param, no returned value. |
| DT_SIGNAL_HISTORY_RESYNC | This signal is raised once darkroom history has been resynchronized into all live pipelines. no param, no returned value. |
| DT_SIGNAL_DEVELOP_MODULE_REMOVE | This signal is raised when a module is removed from the history stack 1 module no returned value. |
| DT_SIGNAL_DEVELOP_MODULE_MOVED | This signal is raised when order of modules in pipeline is changed. |
| DT_SIGNAL_DEVELOP_IMAGE_CHANGED | This signal is raised when image is changed in darkroom. |
| DT_SIGNAL_DARKROOM_UI_CHANGED | Signal that the darkroom GUI color changed. |
| DT_SIGNAL_IMAGE_LOADED | This signal is raised when an asynchronous darkroom image load finishes. 1 : uint32_t the load request id 2 : uint32_t the darkroom image load return code no returned value. |
| DT_SIGNAL_CONTROL_PROFILE_CHANGED | This signal is raised when the screen profile has changed no param, no returned value. |
| DT_SIGNAL_CONTROL_PROFILE_USER_CHANGED | This signal is raised when a profile is changed by the user 1 uint32_t : the profile type that has changed no return. |
| DT_SIGNAL_IMAGE_IMPORT | This signal is raised when a new image is imported (not cloned) 1 uint32_t : the new image id no return. |
| DT_SIGNAL_IMAGE_EXPORT_TMPFILE | This signal is raised after an image has been exported to a file, but before it is sent to facebook/picasa etc... export won't happen until this function returns 1 int : the imgid exported 2 char* : the filename we exported to 3 dt_imageio_module_format_t* : the format used for export 4 dt_imageio_module_data_t* : the format's data 5 dt_imageio_module_storage_t* : the storage used for export (can be NULL) 6 dt_imageio_module_data_t* : the storage's data (can be NULL) no return. |
| DT_SIGNAL_IMAGEIO_STORAGE_CHANGE | This signal is raised when a new storage module is loaded noparameters no return. |
| DT_SIGNAL_PREFERENCES_CHANGE | This signal is raised after preferences have been changed no parameters no return. |
| DT_SIGNAL_CONTROL_NAVIGATION_REDRAW | This signal is raised when dt_control_navigation_redraw() is called. no param, no returned value. |
| DT_SIGNAL_CONTROL_LOG_REDRAW | This signal is raised when dt_control_log_redraw() is called. no param, no returned value. |
| DT_SIGNAL_CONTROL_TOAST_REDRAW | This signal is raised when dt_control_toast_redraw() is called. no param, no returned value. |
| DT_SIGNAL_CONTROL_PICKERDATA_READY | This signal is raised when new color picker data are available in darkroom. no param, no returned value. |
| DT_SIGNAL_CONTROL_NOTEBOOK_TAB_CHANGED | This signal is raised when a GtkNotebook created/registered via dt_ui_notebook_set_picker_owner() switches page. The GTK/GUI layer does not know what the owner pointer represents (kept opaque, |
| DT_SIGNAL_METADATA_UPDATE | |
| DT_SIGNAL_LOCATION_CHANGED | |
| DT_SIGNAL_MASK_SELECTION_CHANGED | |
| DT_SIGNAL_MASK_CHANGED | |
| DT_SIGNAL_MASK_SHAPE_BUTTONS_DEACTIVATE | |
| DT_SIGNAL_MASK_SHAPE_BUTTONS_SYNC | |
| DT_SIGNAL_DEVELOP_MASKS_GUI_CHANGED | |
| DT_SIGNAL_FILELIST_CHANGED | Raised when the recursive file crawler returns. no params, return :
|
| DT_SIGNAL_FOLDER_SURVEY_CHANGED | Raised when the folder survey starts or stops monitoring. no param, no returned value. |
| DT_SIGNAL_COUNT | |
| void dt_control_signal_block_by_func | ( | const struct dt_control_signal_t * | ctlsig, |
| GCallback | cb, | ||
| gpointer | user_data | ||
| ) |
Definition at line 506 of file signal.c.
References IS_NULL_PTR, and dt_control_signal_t::sink.
Referenced by _commit_quiet(), _drag_and_drop_received(), _drop_attach_tag(), _lib_duplicate_init_callback(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_goto_collection_back(), _pop_menu_dictionary_goto_tag_collection(), _raise_signal_tag_changed(), _signal_location_change(), _view_map_button_press_callback(), _view_map_signal_change_raise(), geotag_changed(), and tag_changed().
| void dt_control_signal_cleanup | ( | struct dt_control_signal_t * | ctlsig | ) |
Definition at line 292 of file signal.c.
References dt_free, IS_NULL_PTR, and dt_control_signal_t::sink.
Referenced by dt_cleanup().
| void dt_control_signal_connect | ( | const struct dt_control_signal_t * | ctlsig, |
| const dt_signal_t | signal, | ||
| GCallback | cb, | ||
| gpointer | user_data | ||
| ) |
| void dt_control_signal_disconnect | ( | const struct dt_control_signal_t * | ctlsig, |
| GCallback | cb, | ||
| gpointer | user_data | ||
| ) |
Definition at line 479 of file signal.c.
References _print_trace(), DT_DEBUG_SIGNAL, DT_DEBUG_SIGNAL_ACT_DISCONNECT, dt_get_signal_debug_acts(), dt_print(), IS_NULL_PTR, and dt_control_signal_t::sink.
| void dt_control_signal_disconnect_all | ( | const struct dt_control_signal_t * | ctlsig, |
| gpointer | user_data | ||
| ) |
Definition at line 491 of file signal.c.
References _print_trace(), DT_DEBUG_SIGNAL, DT_DEBUG_SIGNAL_ACT_DISCONNECT, dt_get_signal_debug_acts(), dt_print(), IS_NULL_PTR, and dt_control_signal_t::sink.
Referenced by dt_iop_cleanup_module().
| struct dt_control_signal_t * dt_control_signal_get_global | ( | void | ) |
Definition at line 616 of file darktable.c.
References darktable, and darktable_t::signals.
Referenced by _act_folders_relocate(), _act_tag_rename(), _act_tags_remove(), _blendop_masks_all_delete(), _blendop_masks_all_duplicate_callback(), _blendop_masks_all_name_edited(), _blendop_masks_all_toggled(), _blendop_masks_group_delete(), _blendop_masks_group_duplicate_callback(), _blendop_masks_group_move_callback(), _blendop_masks_group_name_commit(), _blendop_masks_group_operation_callback(), _blendop_masks_group_unlink(), _blendop_masks_mode_changed(), _cleanup(), _commit_quiet(), _culling_mode(), _darkroom_image_loaded_callback(), _display_borders_callback(), _display_brightness_callback(), _drag_and_drop_received(), _drop_attach_tag(), _drop_move_to_folder(), _dt_dev_pixelpipe_cache_wait_ready_callback(), _event_main_press(), _event_main_release(), _event_preview_updated_callback(), _file_chooser_response(), _film_import1(), _filmstrip_on_drag_begin(), _generic_dt_control_fileop_images_job_run(), _gui_reset_callback(), _history_changed(), _history_images_changed(), _image_imported(), _init_widgets(), _ioporder_add_preset(), _lib_duplicate_delete(), _lib_duplicate_init_callback(), _lrop(), _masks_gui_interaction_commit(), _masks_move_up_down_callback(), _masks_operation_callback(), _masks_remove_or_delete_finish(), _masks_shape_buttons_destroy(), _menuitem_preferences(), _metadata_geotags_changed(), _metadata_tags_changed(), _notebook_page_changed(), _notify_profile_changed(), _peek_gui(), _pixelpipe_cache_ready(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_goto_collection_back(), _pop_menu_dictionary_goto_tag_collection(), _preview_window_destroy(), _print_job_run(), _process_file_list(), _raise_signal_tag_changed(), _rolls_changed(), _sample_picker_from_cache(), _shape_manager_broadcast(), _show_location(), _signal_location_change(), _softproof_profile_callback(), _studio_style_apply_callback(), _tree_add_exist(), _tree_apply_operation(), _tree_cell_edited(), _update_gui(), _view_map_button_press_callback(), _view_map_signal_change_raise(), _view_map_update_location_geotag(), _write_metadata(), append_file(), append_styles(), cleanup(), commit_params(), delete_clicked(), dt_collection_load_filmroll(), dt_collection_notify_imported(), dt_collection_update_query(), dt_control_delete_images_job_run(), dt_control_duplicate_images_job_run(), dt_control_export_job_run(), dt_control_gpx_apply_job_run(), dt_control_local_copy_images_job_run(), dt_control_log_redraw(), dt_control_merge_hdr_job_run(), dt_control_navigation_redraw(), dt_control_queue_redraw(), dt_control_queue_redraw_center(), dt_control_refresh_exif_run(), dt_control_remove_images_job_run(), dt_control_set_mouse_over_id(), dt_control_toast_redraw(), dt_dev_append_changed_tag(), dt_dev_darkroom_pipeline(), dt_dev_modulegroups_switch_tab(), dt_dev_pixelpipe_cache_wait_cleanup(), dt_dev_pixelpipe_process(), dt_dev_signal_modules_moved(), dt_dev_undo_end_record(), dt_film_remove_empty(), dt_folder_survey_halt(), dt_folder_survey_start(), dt_get_selected_files(), dt_gui_preferences_show(), dt_image_cache_write_release(), dt_imageio_export_with_flags(), dt_imageio_insert_storage(), dt_imageio_remove_storage(), dt_iop_cleanup_module(), dt_iop_color_picker_cleanup(), dt_iop_color_picker_init(), dt_iop_gui_cleanup_blending(), dt_iop_gui_cleanup_module(), dt_iop_gui_init(), dt_iop_gui_init_blending(), dt_iop_request_focus(), dt_lib_init_presets(), dt_lightroom_import(), dt_masks_gui_form_save_creation(), dt_masks_shape_buttons_create(), dt_masks_shape_buttons_deactivate_all(), dt_masks_shape_buttons_sync_all(), dt_preview_window_spawn(), dt_selection_free(), dt_selection_new(), dt_thumbtable_cleanup(), dt_thumbtable_key_pressed_grid(), dt_thumbtable_new(), dt_ui_init_main_table(), dt_view_active_images_add(), dt_view_active_images_remove(), dt_view_active_images_reset(), dt_view_active_images_set(), dt_view_manager_switch_by_view(), enter(), geotag_changed(), gui_cleanup(), gui_cleanup(), gui_cleanup(), gui_cleanup(), gui_focus(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_reset(), init(), intent_callback(), leave(), menuitem_delete_preset(), menuitem_update_preset(), profile_callback(), profile_changed(), row_activated(), tag_changed(), view_enter(), view_leave(), and workicc_changed().
| struct dt_control_signal_t * dt_control_signal_init | ( | ) |
Definition at line 259 of file signal.c.
References _signal_description, _signal_type, dt_signal_description::destructor, DT_SIGNAL_COUNT, k, name, dt_signal_description::name, and dt_control_signal_t::sink.
Referenced by dt_init().
| void dt_control_signal_raise | ( | const struct dt_control_signal_t * | ctlsig, |
| const dt_signal_t | signal, | ||
| ... | |||
| ) |
| void dt_control_signal_unblock_by_func | ( | const struct dt_control_signal_t * | ctlsig, |
| GCallback | cb, | ||
| gpointer | user_data | ||
| ) |
Definition at line 512 of file signal.c.
References IS_NULL_PTR, and dt_control_signal_t::sink.
Referenced by _commit_quiet(), _drag_and_drop_received(), _drop_attach_tag(), _lib_duplicate_init_callback(), _pop_menu_dictionary_delete_node(), _pop_menu_dictionary_goto_collection_back(), _pop_menu_dictionary_goto_tag_collection(), _raise_signal_tag_changed(), _signal_location_change(), _view_map_button_press_callback(), _view_map_signal_change_raise(), geotag_changed(), and tag_changed().
| gboolean dt_get_signal_debug | ( | const int | signal | ) |
Definition at line 2095 of file darktable.c.
References darktable, and darktable_t::unmuted_signal_dbg.
Referenced by dt_control_signal_connect(), and dt_control_signal_raise().
| int32_t dt_get_signal_debug_acts | ( | void | ) |
Definition at line 2090 of file darktable.c.
References darktable, and darktable_t::unmuted_signal_dbg_acts.
Referenced by _print_trace(), dt_control_signal_connect(), dt_control_signal_disconnect(), dt_control_signal_disconnect_all(), and dt_control_signal_raise().