Skip to main content

Module settings_window

Module settings_window 

Source
Expand description

Implements the GTK4/Libadwaita settings window and status dashboard.

Builds the tabbed preferences interface covering server configuration, watch-folder management, behaviour toggles, and a live health dashboard. Changes are validated and persisted to the JSON config file on save.

Re-exportsยง

pub use queue_inspector::show_queue_inspector;

Modulesยง

actions_ui ๐Ÿ”’
behavior ๐Ÿ”’
connectivity ๐Ÿ”’
library ๐Ÿ”’
queue_inspector ๐Ÿ”’
Queue inspector dialog โ€“ browse failed tasks and recent queue activity.
status ๐Ÿ”’
watch_folders ๐Ÿ”’
Watch-folder row construction, folder-rules dialog, and album picker dialog.

Structsยง

FolderRowData ๐Ÿ”’
Holds GTK widgets for a single watch-folder row in the settings list.

Constantsยง

DEFAULT_ALBUM_LABEL ๐Ÿ”’

Functionsยง

build_settings_window
Construct and present the settings window as a top-level window.
build_settings_window_with_parent
Construct and present the settings window, optionally transient for a parent window.
format_sync_age ๐Ÿ”’
Format a Unix timestamp representing the last sync time into a relative display string.
show_alert ๐Ÿ”’
Display a standard Libadwaita modal alert message dialog to the user.