package platform // StatusBarHandler carries the three menu-bar actions as closures so the App can // supply them without exposing extra Wails-bound methods on its struct. type StatusBarHandler struct { OnShowWindow func() OnOpenSettings func() OnQuit func() } // StatusBarMenu is the set of localized labels for the menu bar item + its menu. // The icon itself is the embedded brand mascot (see statusbar_darwin); Title is // only the accessibility label + text fallback when the image can't be loaded. type StatusBarMenu struct { Title string // accessibility label + text fallback if the icon fails to load Show string Settings string Quit string } // statusBarHandler holds the active closures; set by InstallStatusBar and read // by the native menu-action callbacks (darwin) — a no-op elsewhere. var statusBarHandler StatusBarHandler