Pages
API Documentation
On this page

NETStrut Struct

Simple strut class for NET classes. This struct is deprecated. We strongly advise against using it in new code. More...

  • Header: #include <NETStrut>
  • CMake: find_package(KF6 REQUIRED COMPONENTS KWindowSystem)
    target_link_libraries(mytarget PRIVATE KF6::KWindowSystem)
  • Status: Deprecated

List of all members, including inherited members

Public Functions

This struct is deprecated. We strongly advise against using it in new code.

Detailed Description

use NETExtendedStrut

This class is a convenience class defining a strut with left, right, top and bottom border values. The existence of this class is to keep the implementation from being dependent on a separate framework/library. See the _NET_WM_STRUT property in the NETWM spec.

Member Function Documentation

NETStrut::NETStrut()

Constructor to initialize this struct to 0,0,0,0.

Member Variable Documentation

int NETStrut::bottom

Bottom border of the strut.

int NETStrut::left

Left border of the strut.

int NETStrut::right

Right border of the strut.

int NETStrut::top

Top border of the strut.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.