Quickshell


Toplevel: QtObject

uncreatable
import Quickshell.Wayland

A window/toplevel from another application, retrievable from the ToplevelManager.

  • activated bool
    readonly

    If the window is currently activated or focused.

    Activation can be requested with the activate() function.

  • appId string
    readonly
    No details provided
  • fullscreen bool

    If the window is currently fullscreen.

    Fullscreen can be requested by setting this property, though it may be ignored by the compositor. Fullscreen can be requested on a specific screen with the fullscreenOn() function.

  • maximized bool

    If the window is currently maximized.

    Maximization can be requested by setting this property, though it may be ignored by the compositor.

  • minimized bool

    If the window is currently minimized.

    Minimization can be requested by setting this property, though it may be ignored by the compositor.

  • parent Toplevel
    readonly

    Parent toplevel if this toplevel is a modal/dialog, otherwise null.

  • title string
    readonly
    No details provided
  • activate() void

    Request that this toplevel is activated. The request may be ignored by the compositor.

  • fullscreenOn(screen) void

    Property screenShellScreen

    Request that this toplevel is fullscreened on a specific screen. The request may be ignored by the compositor.

  • setRectangle(window, rect) void

    Property windowQtObject Property rectrect

    Provide a hint to the compositor where the visual representation of this toplevel is relative to a quickshell window. This hint can be used visually in operations like minimization.

  • unsetRectangle() void
    No details provided
  • closed()   ?
    No details provided