KDEUI
#include <netwm.h>
Public Member Functions | |
NETWinInfo2 (Display *display, Window window, Window rootWindow, const unsigned long properties[], int properties_size, Role role=Client) | |
NETWinInfo2 (Display *display, Window window, Window rootWindow, unsigned long properties, Role role=Client) | |
NETFullscreenMonitors | fullscreenMonitors () const |
void | setFullscreenMonitors (NETFullscreenMonitors topology) |
Public Member Functions inherited from NETWinInfo | |
NETWinInfo (Display *display, Window window, Window rootWindow, const unsigned long properties[], int properties_size, Role role=Client) | |
NETWinInfo (Display *display, Window window, Window rootWindow, unsigned long properties, Role role=Client) | |
NETWinInfo (const NETWinInfo &wininfo) | |
virtual | ~NETWinInfo () |
const char * | activities () const |
unsigned long | allowedActions () const |
const char * | clientMachine () const |
int | desktop (bool ignore_viewport=false) const |
void | event (XEvent *event, unsigned long *properties, int properties_size) |
unsigned long | event (XEvent *event) |
NETExtendedStrut | extendedStrut () const |
NETStrut | frameExtents () const |
NETStrut | frameOverlap () const |
Window | groupLeader () const |
Bool | handledIcons () const |
bool | hasNETSupport () const |
bool | hasWindowType () const |
NETIcon | icon (int width=-1, int height=-1) const |
NETRect | iconGeometry () const |
const char * | iconName () const |
const int * | iconSizes () const |
bool | isBlockingCompositing () const |
void | kdeGeometry (NETRect &frame, NETRect &window) |
MappingState | mappingState () const |
const char * | name () const |
unsigned long | opacity () const |
const NETWinInfo & | operator= (const NETWinInfo &wintinfo) |
const unsigned long * | passedProperties () const |
int | pid () const |
void | setAllowedActions (unsigned long actions) |
void | setBlockingCompositing (bool active) |
void | setDesktop (int desktop, bool ignore_viewport=false) |
void | setExtendedStrut (const NETExtendedStrut &extended_strut) |
void | setFrameExtents (NETStrut strut) |
void | setFrameOverlap (NETStrut strut) |
void | setHandledIcons (Bool handled) |
void | setIcon (NETIcon icon, Bool replace=True) |
void | setIconGeometry (NETRect geometry) |
void | setIconName (const char *name) |
void | setName (const char *name) |
void | setOpacity (unsigned long opacity) |
void | setPid (int pid) |
void | setStartupId (const char *startup_id) |
void | setState (unsigned long state, unsigned long mask) |
void | setStrut (NETStrut strut) |
void | setUserTime (Time time) |
void | setVisibleIconName (const char *name) |
void | setVisibleName (const char *visibleName) |
void | setWindowType (WindowType type) |
const char * | startupId () const |
unsigned long | state () const |
NETStrut | strut () const |
Window | transientFor () const |
Time | userTime () const |
const char * | visibleIconName () const |
const char * | visibleName () const |
const char * | windowClassClass () const |
const char * | windowClassName () const |
const char * | windowRole () const |
WindowType | windowType (unsigned long supported_types) const |
Protected Member Functions | |
virtual void | changeFullscreenMonitors (NETFullscreenMonitors topology) |
Protected Member Functions inherited from NETWinInfo | |
virtual void | changeDesktop (int desktop) |
virtual void | changeState (unsigned long state, unsigned long mask) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This class is an extension of the NETWinInfo class, and exists solely for binary compatibility reasons (adds new virtual methods) until KDE5.
Simply use it instead of NETWinInfo and override also the added virtual methods.
- Since
- 4.2
Constructor & Destructor Documentation
Member Function Documentation
|
inlineprotectedvirtual |
A Window Manager should subclass NETWinInfo2 and reimplement this function when it wants to know when a Client made a request to change the fullscreen monitor topology for its fullscreen state.
- Parameters
-
topology A structure (top, bottom, left, right) representing the fullscreen monitor topology.
NETFullscreenMonitors NETWinInfo2::fullscreenMonitors | ( | ) | const |
void NETWinInfo2::setFullscreenMonitors | ( | NETFullscreenMonitors | topology | ) |
Sets the desired multiple-monitor topology (4 monitor indices indicating the top, bottom, left, and right edges of the window) when the fullscreen state is enabled.
The indices are from the set returned by the Xinerama extension. See _NET_WM_FULLSCREEN_MONITORS for details.
- Parameters
-
topology A struct that models the desired monitor topology, namely: top is the monitor whose top edge defines the top edge of the fullscreen window, bottom is the monitor whose bottom edge defines the bottom edge of the fullscreen window, left is the monitor whose left edge defines the left edge of the fullscreen window, and right is the monitor whose right edge defines the right edge of the fullscreen window.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.