Class WindowKt

  • All Implemented Interfaces:

    
    public final class WindowKt
    
                        
    • Constructor Detail

    • Method Detail

      • Window

         final static Unit ,java.lang.Boolean,java.lang.String,.,.,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1)>Window(Function0<Unit> onCloseRequest, <Error class: unknown class> state, Boolean visible, String title, <Error class: unknown class> icon, <Error class: unknown class> decoration, Boolean transparent, Boolean resizable, Boolean enabled, Boolean focusable, Boolean alwaysOnTop, Function1<<Error class: unknown class>, Boolean> onPreviewKeyEvent, Function1<<Error class: unknown class>, Boolean> onKeyEvent, Function1<<Error class: unknown class>, Unit> content)

        Creates a window with the specified parameters and provide the org.jetbrains.jewel.foundation.component.LocalComponent. For more details on the parameters, check the androidx.compose.ui.window.Window documentation.

        Parameters:
        onCloseRequest - Callback that will be called when the user closes the window.
        state - The state object to be used to control or observe the window's state When size/position/status is changed by the user, state will be updated.
        visible - Is Window visible to user.
        title - Title in the title bar of the window
        icon - Icon in the title bar of the window (for platforms which support this).
        decoration - Specifies the decoration for this window.
        transparent - Disables or enables window transparency.
        resizable - Can window be resized by the user (application still can resize the window changing state)
        enabled - Can window react to input events
        focusable - Can window receive focus
        alwaysOnTop - Should window always be on top of another windows
        onPreviewKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        onKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        content - Content of the window
      • Window

         final static Unit ,java.lang.Boolean,java.lang.String,.,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1)>Window(Function0<Unit> onCloseRequest, <Error class: unknown class> state, Boolean visible, String title, <Error class: unknown class> icon, Boolean undecorated, Boolean transparent, Boolean resizable, Boolean enabled, Boolean focusable, Boolean alwaysOnTop, Function1<<Error class: unknown class>, Boolean> onPreviewKeyEvent, Function1<<Error class: unknown class>, Boolean> onKeyEvent, Function1<<Error class: unknown class>, Unit> content)

        Creates a window with the specified parameters and provide the org.jetbrains.jewel.foundation.component.LocalComponent. For more details on the parameters, check the androidx.compose.ui.window.Window documentation.

        Parameters:
        onCloseRequest - Callback that will be called when the user closes the window.
        state - The state object to be used to control or observe the window's state When size/position/status is changed by the user, state will be updated.
        visible - Is Window visible to user.
        title - Title in the title bar of the window
        icon - Icon in the title bar of the window (for platforms which support this).
        undecorated - Disables or enables decorations for this window.
        transparent - Disables or enables window transparency.
        resizable - Can window be resized by the user (application still can resize the window changing state)
        enabled - Can window react to input events
        focusable - Can window receive focus
        alwaysOnTop - Should window always be on top of another windows
        onPreviewKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        onKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        content - Content of the window
      • SwingWindow

         final static Unit SwingWindow(Boolean visible, Function1<<Error class: unknown class>, Boolean> onPreviewKeyEvent, Function1<<Error class: unknown class>, Boolean> onKeyEvent, Function0<<Error class: unknown class>> create, Function1<<Error class: unknown class>, Unit> dispose, Function1<<Error class: unknown class>, Unit> update, Function1<<Error class: unknown class>, Unit> content)

        Creates a window with the specified parameters and provide the org.jetbrains.jewel.foundation.component.LocalComponent. For more details on the parameters, check the androidx.compose.ui.awt.SwingWindow documentation.

      • singleWindowApplication

         final static Unit ,java.lang.Boolean,java.lang.String,.,.,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,java.lang.Boolean,kotlin.jvm.functions.Function1)>singleWindowApplication(<Error class: unknown class> state, Boolean visible, String title, <Error class: unknown class> icon, <Error class: unknown class> decoration, Boolean transparent, Boolean resizable, Boolean enabled, Boolean focusable, Boolean alwaysOnTop, Function1<<Error class: unknown class>, Boolean> onPreviewKeyEvent, Function1<<Error class: unknown class>, Boolean> onKeyEvent, Boolean exitProcessOnExit, Function1<<Error class: unknown class>, Unit> content)

        Creates a single window entry point for the Compose application and provide the org.jetbrains.jewel.foundation.component.LocalComponent. For more details in the parameters, check the androidx.compose.ui.window.singleWindowApplication documentation.

        Parameters:
        state - The state object to be used to control or observe the window's state When size/position/status is changed by the user, state will be updated.
        visible - Is Window visible to user.
        title - Title in the title bar of the window
        icon - Icon in the title bar of the window (for platforms which support this).
        decoration - Specifies the decoration for this window.
        transparent - Disables or enables window transparency.
        resizable - Can window be resized by the user (application still can resize the window changing state)
        enabled - Can window react to input events
        focusable - Can window receive focus
        alwaysOnTop - Should window always be on top of another windows
        onPreviewKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        onKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        exitProcessOnExit - should exitProcess(0) be called after the window is closed.
        content - Content of the window
      • singleWindowApplication

         final static Unit ,java.lang.Boolean,java.lang.String,.,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,java.lang.Boolean,kotlin.jvm.functions.Function1)>singleWindowApplication(<Error class: unknown class> state, Boolean visible, String title, <Error class: unknown class> icon, Boolean undecorated, Boolean transparent, Boolean resizable, Boolean enabled, Boolean focusable, Boolean alwaysOnTop, Function1<<Error class: unknown class>, Boolean> onPreviewKeyEvent, Function1<<Error class: unknown class>, Boolean> onKeyEvent, Boolean exitProcessOnExit, Function1<<Error class: unknown class>, Unit> content)

        Creates a single window entry point for the Compose application and provide the org.jetbrains.jewel.foundation.component.LocalComponent. For more details in the parameters, check the androidx.compose.ui.window.singleWindowApplication documentation.

        Parameters:
        state - The state object to be used to control or observe the window's state When size/position/status is changed by the user, state will be updated.
        visible - Is Window visible to user.
        title - Title in the title bar of the window
        icon - Icon in the title bar of the window (for platforms which support this).
        undecorated - Disables or enables decorations for this window.
        transparent - Disables or enables window transparency.
        resizable - Can window be resized by the user (application still can resize the window changing state)
        enabled - Can window react to input events
        focusable - Can window receive focus
        alwaysOnTop - Should window always be on top of another windows
        onPreviewKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        onKeyEvent - This callback is invoked when the user interacts with the hardware keyboard.
        exitProcessOnExit - should exitProcess(0) be called after the window is closed.
        content - Content of the window