Expand description
Header bar button wiring, search, sort, source-mode, timeline, and sidebar/grid handlers.
Connects signal handlers for the library header bar controls including the search entry, sort-mode dropdown, view-source toggle, timeline scrubber, and sidebar collapse button.
FunctionsΒ§
- auto_
hide_ πsidebar - connect_
controls π - connect_
grid_ πhandlers - connect_
sidebar_ πhandlers - navigate_
back π - Pop the navigation history and switch to the previous source. Returns true if a back-step was taken, false when the history was empty.
- refresh_
library_ πafter_ mutation - refresh_
library_ πsurfaces - sidebar_
dispatch π - Common path for sidebar selections. Skips redundant dispatches so the
reload_sidebarprogrammatic re-selection doesnβt loop into another fetch β but only when the content stack is already showing the current source, since the Albums grid moves the stack without changing source. - update_
back_ πbutton