VideoTools
|
A class that can locate a GX::Window object based on a Xlib window handle. More...
#include <gxwindowmap.h>
Classes | |
struct | NotFound |
Exception class for GX::WindowMap. More... | |
Public Member Functions | |
WindowMap () | |
Constructor. | |
~WindowMap () | |
Destructor. | |
void | add (GX::Window &w) |
Adds a window. | |
void | remove (GX::Window &w) |
Removes a window. | |
GX::Window & | find (::Window w) const |
Finds a window. Throws if not found. | |
Static Public Member Functions | |
static WindowMap * | instance () |
Singleton access. Returns nullptr if none. | |
A class that can locate a GX::Window object based on a Xlib window handle.
Definition at line 39 of file gxwindowmap.h.