Resource for the org_kde_plasma_shell_surface interface.
More...
#include <plasmashell.h>
|
enum class | Role {
Normal
, Desktop
, Panel
, OnScreenDisplay
,
Notification
, ToolTip
, CriticalNotification
, AppletPopup
} |
|
enum class | PanelBehavior { AlwaysVisible
, AutoHide
, WindowsCanCover
, WindowsGoBelow
} |
|
Resource for the org_kde_plasma_shell_surface interface.
PlasmaShellSurfaceInterface gets created by PlasmaShellInterface.
Definition at line 59 of file plasmashell.h.
◆ PanelBehavior
Describes how a PlasmaShellSurfaceInterface with role Role::Panel
should behave.
Deprecated
Enumerator |
---|
AlwaysVisible | The panel should be always visible.
|
AutoHide | The panel auto hides at a screen edge and returns on mouse press against edge.
|
WindowsCanCover | Windows are allowed to go above the panel, it raises on mouse press against screen edge.
|
WindowsGoBelow | Window are allowed to go below the panel.
|
Definition at line 106 of file plasmashell.h.
◆ Role
Describes possible roles this PlasmaShellSurfaceInterface can have. The role can be used by the server to e.g. change the stacking order accordingly.
Enumerator |
---|
Normal | A normal surface.
|
Desktop | The surface represents a desktop, normally stacked below all other surfaces.
|
Panel | The surface represents a panel (dock), normally stacked above normal surfaces.
|
OnScreenDisplay | The surface represents an on screen display, like a volume changed notification.
|
Notification | The surface represents a notification.
|
ToolTip | The surface represents a tooltip.
|
CriticalNotification | The surface represents a critical notification, like battery is running out.
|
AppletPopup | The surface represents an applet popup window.
|
Definition at line 87 of file plasmashell.h.
◆ ~PlasmaShellSurfaceInterface()
KWin::PlasmaShellSurfaceInterface::~PlasmaShellSurfaceInterface |
( |
| ) |
|
|
virtualdefault |
◆ get() [1/2]
◆ get() [2/2]
◆ hideAutoHidingPanel()
void KWin::PlasmaShellSurfaceInterface::hideAutoHidingPanel |
( |
| ) |
|
◆ isPositionSet()
bool KWin::PlasmaShellSurfaceInterface::isPositionSet |
( |
| ) |
const |
- Returns
- Whether a global position has been requested.
Definition at line 272 of file plasmashell.cpp.
◆ openUnderCursorRequested
void KWin::PlasmaShellSurfaceInterface::openUnderCursorRequested |
( |
| ) |
|
|
signal |
The surface has requested to be initially shown under the cursor. Can only occur before any buffer has been attached.
◆ panelAutoHideHideRequested
void KWin::PlasmaShellSurfaceInterface::panelAutoHideHideRequested |
( |
| ) |
|
|
signal |
◆ panelAutoHideShowRequested
void KWin::PlasmaShellSurfaceInterface::panelAutoHideShowRequested |
( |
| ) |
|
|
signal |
◆ panelBehavior()
◆ panelBehaviorChanged
void KWin::PlasmaShellSurfaceInterface::panelBehaviorChanged |
( |
| ) |
|
|
signal |
A change of the panel behavior has been requested.
◆ panelTakesFocus()
bool KWin::PlasmaShellSurfaceInterface::panelTakesFocus |
( |
| ) |
const |
◆ panelTakesFocusChanged
void KWin::PlasmaShellSurfaceInterface::panelTakesFocusChanged |
( |
| ) |
|
|
signal |
◆ position()
QPoint KWin::PlasmaShellSurfaceInterface::position |
( |
| ) |
const |
- Returns
- the requested position in global coordinates.
Definition at line 262 of file plasmashell.cpp.
◆ positionChanged
void KWin::PlasmaShellSurfaceInterface::positionChanged |
( |
| ) |
|
|
signal |
A change of global position has been requested.
◆ role()
◆ roleChanged
void KWin::PlasmaShellSurfaceInterface::roleChanged |
( |
| ) |
|
|
signal |
A change of the role has been requested.
◆ showAutoHidingPanel()
void KWin::PlasmaShellSurfaceInterface::showAutoHidingPanel |
( |
| ) |
|
◆ skipSwitcher()
bool KWin::PlasmaShellSurfaceInterface::skipSwitcher |
( |
| ) |
const |
- Returns
- true if this window doesn't want to be listed in a window switcher
Definition at line 292 of file plasmashell.cpp.
◆ skipSwitcherChanged
void KWin::PlasmaShellSurfaceInterface::skipSwitcherChanged |
( |
| ) |
|
|
signal |
A change in the skip switcher property has been requested
◆ skipTaskbar()
bool KWin::PlasmaShellSurfaceInterface::skipTaskbar |
( |
| ) |
const |
- Returns
- true if this window doesn't want to be listed in the taskbar
Definition at line 287 of file plasmashell.cpp.
◆ skipTaskbarChanged
void KWin::PlasmaShellSurfaceInterface::skipTaskbarChanged |
( |
| ) |
|
|
signal |
A change in the skip taskbar property has been requested
◆ surface()
◆ wantsOpenUnderCursor()
bool KWin::PlasmaShellSurfaceInterface::wantsOpenUnderCursor |
( |
| ) |
const |
- Returns
- Whether the surface has requested to be opened under the cursor.
Definition at line 277 of file plasmashell.cpp.
◆ PlasmaShellInterfacePrivate
The documentation for this class was generated from the following files: