kdecore Library API Documentation

NETRootInfo2 Class Reference

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

#include <netwm.h>

Inheritance diagram for NETRootInfo2:

NETRootInfo NET NETRootInfo3 List of all members.

Public Member Functions

 NETRootInfo2 (Display *display, Window supportWindow, const char *wmName, unsigned long properties[], int properties_size, int screen=-1, bool doActivate=true)
void sendPing (Window window, Time timestamp)

Protected Member Functions

virtual void gotPing (Window, Time)
virtual void changeActiveWindow (Window, NET::RequestSource, Time, Window)
virtual void restackWindow (Window, Window, int)
virtual void moveResizeWindow (Window, int, int, int, int, int)

Detailed Description

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

Simply use it instead of NETRootInfo and override also the added virtual methods.

Since:
3.2

Definition at line 749 of file netwm.h.


Member Function Documentation

void NETRootInfo2::sendPing Window  window,
Time  timestamp
 

Sends a ping with the given timestamp to the window, using the _NET_WM_PING protocol.

Definition at line 1664 of file netwm.cpp.

References NETWinInfoPrivate::display.

virtual void NETRootInfo2::gotPing Window  ,
Time 
[inline, protected, virtual]
 

A Window Manager should subclass NETRootInfo2 and reimplement this function when it wants to receive replies to the _NET_WM_PING protocol.

Parameters:
window the window from which the reply came
timestamp timestamp of the ping
Definition at line 770 of file netwm.h.

Referenced by NETRootInfo::event().

virtual void NETRootInfo2::changeActiveWindow Window  ,
NET::RequestSource  ,
Time  ,
Window 
[inline, protected, virtual]
 

A Window Manager should subclass NETRootInfo2 and reimplement this function when it wants to know when a Client made a request to change the active (focused) window.

Parameters:
window the id of the window to activate
src the source from which the request came
timestamp the timestamp of the user action causing this request
active_window active window of the requesting application, if any
Definition at line 783 of file netwm.h.

Referenced by NETRootInfo::event().

virtual void NETRootInfo2::restackWindow Window  ,
Window  ,
int 
[inline, protected, virtual]
 

A Window Manager should subclass NETRootInfo2 and reimplement this function when it wants to know when a Client made a request to restack a window.

See _NET_RESTACK_WINDOW for details.

Parameters:
window the id of the window to restack
above other window in the restack request
detail restack detail
Definition at line 794 of file netwm.h.

Referenced by NETRootInfo::event().

virtual void NETRootInfo2::moveResizeWindow Window  ,
int  ,
int  ,
int  ,
int  ,
int 
[inline, protected, virtual]
 

A Window Manager should subclass NETRootInfo2 and reimplement this function when it wants to know when a pager made a request to move/resize a window.

See _NET_MOVERESIZE_WINDOW for details.

Parameters:
window the id of the window to more/resize
Definition at line 804 of file netwm.h.

Referenced by NETRootInfo::event().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Sep 29 09:43:15 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003