Quickshell


WrapperMouseArea: class

import Quickshell.Widgets

This component is useful for wrapping a single component in a mouse area. It works the same as WrapperItem, but with a MouseArea.

NOTE

WrapperMouseArea is a MarginWrapperManager based component. See its documentation for information on how margins and sizes are calculated.

NOTE

The child item can be specified by writing it inline in the wrapper, as in the example above, or by using the Go to child property. See Go to WrapperManager.child for details.

WARNING

You should not set Go to Item.x, Go to Item.y, Go to Item.width, Go to Item.height or Go to Item.anchors on the child item, as they are used by WrapperItem to position it. Instead set Go to Item.implicitWidth and Go to Item.implicitHeight.