fn add_shortcut( ui: &Rc<LibraryWindowUi>, trigger: &str, action: fn(&Rc<LibraryWindowUi>) -> bool, )