1
0
Fork 0
mirror of synced 2024-05-14 17:33:48 +12:00
czkawka/krokiet/ui/callabler.slint
Rafał Mikrut 0446ff366c
More work on Krokiet (#1210)
* Disable flaky tests

* More

* More

* About

* TODO

* More

* Heh

* Progress

* A little

* Music

* Models

* Subsettings

* Water

* Header

* Saving

* Poprawa elementów

* Ad

* Names
2024-02-17 13:53:42 +01:00

38 lines
909 B
Plaintext

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();
callback open_link(string);
}