Pages
API Documentation
On this page

NETExtendedStrut Struct

Partial strut class for NET classes. More...

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

List of all members, including inherited members

Public Functions

Detailed Description

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

Member Function Documentation

NETExtendedStrut::NETExtendedStrut()

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

Member Variable Documentation

int NETExtendedStrut::bottom_end

This variable holds the end of the bottom border of the strut.

int NETExtendedStrut::bottom_start

This variable holds the start of the bottom border of the strut.

int NETExtendedStrut::bottom_width

This variable holds the width of the bottom border of the strut.

int NETExtendedStrut::left_end

This variable holds the end of the left border of the strut.

int NETExtendedStrut::left_start

This variable holds the start of the left border of the strut.

int NETExtendedStrut::left_width

This variable holds the width of the left border of the strut.

int NETExtendedStrut::right_end

This variable holds the end of the right border of the strut.

int NETExtendedStrut::right_start

This variable holds the start of the right border of the strut.

int NETExtendedStrut::right_width

The width of the right border of the strut.

int NETExtendedStrut::top_end

This variable holds the end of the top border of the strut.

int NETExtendedStrut::top_start

This variable holds the start of the top border of the strut.

int NETExtendedStrut::top_width

This variable holds the width of the 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.