Toplevel: QtObject [uncreatable]
import Quickshell.Wayland
Window from another application. More
Properties
- activated: bool
- appId: string
- fullscreen: bool
- maximized: bool
- minimized: bool
- parent: Toplevel
- title: string
Functions
- void activate()
- void fullscreenOn(screen: ShellScreen)
- void setRectangle(window: QtObject, rect: rect)
- void unsetRectangle()
Signals
- closed()
Detailed Description
A window/toplevel from another application, retrievable from the ToplevelManager.
Property Details
activated: bool
If the window is currently activated or focused.
Activation can be requested with the activate() function.
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.
parent: Toplevel
Parent toplevel if this toplevel is a modal/dialog, otherwise null.
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.
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.