DesktopAppDefaults
object DesktopAppDefaults
Functions
Link copied to clipboard
fun getDefaultStatusBarItemsLeft(showAppVersionLeft: Boolean = true, onAppVersionClick: () -> Unit? = null): List<DesktopStatusBarItem>
Link copied to clipboard
fun getDefaultStatusBarItemsRight(showJavaVersionRight: Boolean = true, showUserNameRight: Boolean = true, showHostNameRight: Boolean = true, onJavaVersionClick: () -> Unit? = null, onUserNameClick: () -> Unit? = null, onHostNameClick: () -> Unit? = null): List<DesktopStatusBarItem>
Link copied to clipboard
fun getDesktopMenuItems(customActions: List<MenuItem>, menuLabel: String = "App", menuWindowLabel: String = "Window", menuDevLabel: String = "Dev", menuIcon: IconComposable? = Icons.Default.Apps.toIconComposable(), menuDevIcon: IconComposable? = Icons.Default.BugReport.toIconComposable(), labelResetWindowSize: String = "Reset Window Size", labelResetWindowPosition: String = "Reset Window Position", labelOpenDebugDrawer: String = "Open Debug Drawer", labelCloseDebugDrawer: String = "Close Debug Drawer", resetWindowSize: Boolean = true, resetWindowPosition: Boolean = true): List<MenuItem>