21 #ifndef GX_WINDOW_MAP_H
22 #define GX_WINDOW_MAP_H
44 virtual const char * what()
const g__noexcept
override {
return "window not found" ; }
71 typedef std::map<XlibWindow,GX::Window*> Map ;
A window class that is-a GX::Drawable and a GX::EventHandler.
An exception class for GX classes.
void add(GX::Window &w)
Adds a window.
GX::Window & find(::Window w) const
Finds a window. Throws if not found.
Exception class for GX::WindowMap.
A class that can locate a GX::Window object based on a Xlib window handle.
static WindowMap * instance()
Singleton access. Returns nullptr if none.