Toplevel: QtObject [uncreatable]

import Quickshell.Wayland

Window from another application. More

Properties

Functions

Signals

Detailed Description

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

Property Details

[readonly]

activated: bool

If the window is currently activated or focused.

Activation can be requested with the activate() function.

[readonly]

appId: string

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.

[readonly]

parent: Toplevel

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

[readonly]

title: string

No details provided.

Function Details

void activate()

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

void fullscreenOn(screen: ShellScreen)

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

void setRectangle(window: QtObject, rect: rect)

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.

void unsetRectangle()

No details provided.

Signal Details

closed()

No details provided.