• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

NETWinInfo2 Class Reference

This class is an extension of the NETWinInfo class, and exists solely for binary compatibility reasons (adds new virtual methods) until KDE5. More...

#include <netwm.h>

Inheritance diagram for NETWinInfo2:
NETWinInfo NET

List of all members.

Public Member Functions

NETFullscreenMonitors fullscreenMonitors () const
 NETWinInfo2 (Display *display, Window window, Window rootWindow, unsigned long properties, Role role=Client)
 NETWinInfo2 (Display *display, Window window, Window rootWindow, const unsigned long properties[], int properties_size, Role role=Client)
void setFullscreenMonitors (NETFullscreenMonitors topology)

Protected Member Functions

virtual void changeFullscreenMonitors (NETFullscreenMonitors topology)

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

Definition at line 1306 of file netwm.h.


Constructor & Destructor Documentation

NETWinInfo2::NETWinInfo2 ( Display *  display,
Window  window,
Window  rootWindow,
const unsigned long  properties[],
int  properties_size,
Role  role = Client 
)

Definition at line 2776 of file netwm.cpp.

NETWinInfo2::NETWinInfo2 ( Display *  display,
Window  window,
Window  rootWindow,
unsigned long  properties,
Role  role = Client 
)

Definition at line 2782 of file netwm.cpp.


Member Function Documentation

virtual void NETWinInfo2::changeFullscreenMonitors ( NETFullscreenMonitors  topology  )  [inline, protected, virtual]

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.

Definition at line 1351 of file netwm.h.

NETFullscreenMonitors NETWinInfo2::fullscreenMonitors (  )  const

Returns the desired fullscreen monitor topology for this client, should it be in fullscreen state.

See _NET_WM_FULLSCREEN_MONITORS in the spec.

Definition at line 4384 of file netwm.cpp.

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.

Definition at line 2942 of file netwm.cpp.


The documentation for this class was generated from the following files:
  • netwm.h
  • netwm.cpp

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal