Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

控制window位置的有alignmentposition一个是相对定位一个是绝对定位。 默认使用alignment,如果希望使用position需要将alignment设置为null

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
@Composable
fun Size.toDimension(): Dimension
@Composable
fun DpSize.toDimension(): Dimension
Link copied to clipboard
fun WindowState.toPlacement(): WindowPlacement
Link copied to clipboard
fun Register.windowMenu(windowId: String = Constants.DEFAULT_WINDOW, menu: @Composable FrameWindowScope.() -> Unit)

注册windowId对应的窗口菜单