Search for usage in LXR

WindowControlsLinux Class Reference

Inherits Loader.

Detailed Description

The window control buttons for windows using client side decorations.

org.mauikit.controls.labs 1.0
Although this control name has the "Linux" suffix, the right name for usage is WindowControls.
anchors.left: parent.left
The MauiKit Style preferences singleton object.
Definition style.h:85
GroupSizes * space
The group of different standard spacing values for consistency in the MauiKit apps.
Definition style.h:185

This control takes care of drawing the window buttons, and when triggered it performs the associated actions such as close, minimize and maximize.

It is loaded asynchronous, and only active if the client side decorations have been enabled and the form factor of the device is on desktop mode. Consider only using it in cases where the main application window container does not support the attached property Controls.showCSD.

Some of the containers and items that support the formerly mentioned attached property are:

For more details on the implementation of this control and how to customize it you can refer to CSDControls.

There are different window control buttons themes, and new ones can be created.

Definition at line 40 of file WindowControlsLinux.qml.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 12:01:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.