378fa1fd6e
* AVC * Import split * Default thread size * Hen * Allowed extensions * Perf * Connect * Excluded * Zmiany * Optimization * 4.10 * At once * Included * Chang * VD * VD * Hashes * Wersja * SD * Up * Up * 2024 * Dup * Slint files * Added select * Selections * Fix * LTO * Actions * Added popup delete * AB * V4 * Release * LTO * Basic moving * Commonsy * Moving probably works * Popup move
35 lines
876 B
Text
35 lines
876 B
Text
import { SelectMode } from "common.slint";
|
|
|
|
export global Callabler {
|
|
// Bottom panel operations
|
|
callback remove_item_directories(bool);
|
|
callback added_manual_directories(bool, string);
|
|
|
|
// Right click or middle click opener
|
|
callback item_opened(string);
|
|
|
|
callback delete_selected_items();
|
|
callback select_items(SelectMode);
|
|
|
|
// Preview
|
|
callback load_image_preview(string);
|
|
|
|
// Settings
|
|
callback changed_settings_preset();
|
|
callback save_current_preset();
|
|
callback load_current_preset();
|
|
callback reset_current_preset();
|
|
|
|
callback tab_changed();
|
|
|
|
callback move_items(bool, bool, string);
|
|
|
|
// Translations
|
|
pure callback translate(string, [{key: string, value: string}]) -> string;
|
|
|
|
// Only Slint
|
|
callback open_select_popup();
|
|
|
|
callback open_config_folder();
|
|
callback open_cache_folder();
|
|
}
|