i3ipc++
An C++ implementaiton of the i3 IPC
 All Classes Functions Variables Enumerations Enumerator Modules
i3ipc::container_t Struct Reference

A node of tree of windows. More...

#include <ipc.hpp>

Collaboration diagram for i3ipc::container_t:

Public Attributes

uint64_t id
 The internal ID (actually a C pointer value) of this container. Do not make any assumptions about it. You can use it to (re-)identify and address containers when talking to i3.
 
uint64_t xwindow_id
 The X11 window ID of the actual client window inside this container. This field is set to null for split containers or otherwise empty containers. This ID corresponds to what xwininfo(1) and other X11-related tools display (usually in hex)
 
std::string name
 The internal name of this container. For all containers which are part of the tree structure down to the workspace contents, this is set to a nice human-readable name of the container. For containers that have an X11 window, the content is the title (_NET_WM_NAME property) of that window. For all other containers, the content is not defined (yet)
 
std::string type
 Type of this container.
 
BorderStyle border
 A style of the container's border.
 
std::string border_raw
 A "border" field of TREE reply. NOT empty only if border equals BorderStyle::UNKNOWN.
 
uint32_t current_border_width
 Number of pixels of the border width.
 
ContainerLayout layout
 A type of the container's layout.
 
std::string layout_raw
 A "layout" field of TREE reply. NOT empty only if layout equals ContainerLayout::UNKNOWN.
 
float percent
 The percentage which this container takes in its parent. A value of < 0 means that the percent property does not make sense for this container, for example for the root container.
 
rect_t rect
 The absolute display coordinates for this container.
 
rect_t window_rect
 The coordinates of the actual client window inside its container. These coordinates are relative to the container and do not include the window decoration (which is actually rendered on the parent container)
 
rect_t deco_rect
 The coordinates of the window decoration inside its container. These coordinates are relative to the container and do not include the actual client window.
 
rect_t geometry
 The original geometry the window specified when i3 mapped it. Used when switching a window to floating mode, for example.
 
bool urgent
 
bool focused
 
std::list< std::shared_ptr
< container_t > > 
nodes
 

Detailed Description

A node of tree of windows.


The documentation for this struct was generated from the following file: