Kanzi 3.9.10
x11_window.hpp File Reference

Classes

class  kanzi::x11::X11Window
 An X11 window. More...
 

Namespaces

namespace  kanzi
 
namespace  kanzi::x11
 

Functions

void kanzi::x11::hideWindow (const X11Display &display, X11Window &window) noexcept
 Makes a window invisible and inactive on the current display monitor.
 
bool kanzi::x11::minimizeWindow (const X11Display &display, X11Window &window) noexcept
 Minimizes a window to the taskbar and makes it inactive on the current display monitor.
 
void kanzi::x11::moveWindow (const X11Display &display, X11Window &window, int x, int y) noexcept
 Moves a window to a given position.
 
void kanzi::x11::resizeClientArea (const X11Display &display, X11Window &window, unsigned int width, unsigned int height) noexcept
 Resizes the client-area of a window.
 
void kanzi::x11::resizeWindow (const X11Display &display, X11Window &window, unsigned int width, unsigned int height) noexcept
 Resizes a window.
 
void kanzi::x11::selectWindowInputEvents (const X11Display &display, X11Window &window, long eventBitMask) noexcept
 Selects which input events to receive for a window.
 
bool kanzi::x11::setWindowRegionHints (const X11Display &display, const X11Window &window, windowing::Region windowRegion) noexcept
 Sets hints for a window to help the X11 compositor.
 
void kanzi::x11::showWindow (const X11Display &display, X11Window &window) noexcept
 Sets a window to be visible and active on the current display monitor.
 
KZ_NO_DISCARD optional< int > kanzi::x11::tryGetWindowPositionX (const X11Display &display, const X11Window &window) noexcept
 Tries to get the x position of a window.
 
KZ_NO_DISCARD optional< int > kanzi::x11::tryGetWindowPositionY (const X11Display &display, const X11Window &window) noexcept
 Tries to get the y position of a window.
 
KZ_NO_DISCARD optional< windowing::Sizekanzi::x11::tryGetWindowSize (const X11Display &display, const X11Window &window) noexcept
 Tries to get the size of a window.
 
KZ_NO_DISCARD optional< windowing::SizeUkanzi::x11::tryGetWindowSizeU (const X11Display &display, const X11Window &window) noexcept
 Tries to get the unsigned size of a window.