i3ipc++
An C++ implementaiton of the i3 IPC
 All Classes Functions Variables Enumerations Enumerator Modules
i3 IPC C++ binding
Collaboration diagram for i3 IPC C++ binding:

Classes

struct  i3ipc::rect_t
 Primitive of rectangle. More...
 
struct  i3ipc::workspace_t
 i3's workspace More...
 
struct  i3ipc::output_t
 i3's output More...
 
struct  i3ipc::version_t
 Version of i3. More...
 
struct  i3ipc::container_t
 A node of tree of windows. More...
 
struct  i3ipc::workspace_event_t
 A workspace event. More...
 
struct  i3ipc::window_event_t
 A window event. More...
 
struct  i3ipc::binding_t
 A binding. More...
 
struct  i3ipc::bar_config_t
 A bar configuration. More...
 
class  i3ipc::connection
 Connection to the i3. More...
 

Enumerations

enum  i3ipc::EventType {
  i3ipc::ET_WORKSPACE = (1 << 0), i3ipc::ET_OUTPUT = (1 << 1), i3ipc::ET_MODE = (1 << 2), i3ipc::ET_WINDOW = (1 << 3),
  i3ipc::ET_BARCONFIG_UPDATE = (1 << 4), i3ipc::ET_BINDING = (1 << 5)
}
 Types of the events of i3. More...
 
enum  i3ipc::WorkspaceEventType : char { i3ipc::WorkspaceEventType::FOCUS = 'f', i3ipc::WorkspaceEventType::INIT = 'i', i3ipc::WorkspaceEventType::EMPTY = 'e', i3ipc::WorkspaceEventType::URGENT = 'u' }
 Types of workspace events. More...
 
enum  i3ipc::WindowEventType : char {
  i3ipc::WindowEventType::NEW = 'n', i3ipc::WindowEventType::CLOSE = 'c', i3ipc::WindowEventType::FOCUS = 'f', i3ipc::WindowEventType::TITLE = 't',
  i3ipc::WindowEventType::FULLSCREEN_MODE = 'F', i3ipc::WindowEventType::MOVE = 'M', i3ipc::WindowEventType::FLOATING = '_', i3ipc::WindowEventType::URGENT = 'u'
}
 Types of window events. More...
 
enum  i3ipc::BorderStyle : char {
  UNKNOWN = '?', NONE = 'N', NORMAL = 'n', PIXEL = 'P',
  ONE_PIXEL = '1'
}
 A style of a container's border.
 
enum  i3ipc::ContainerLayout : char {
  UNKNOWN = '?', SPLIT_H = 'h', SPLIT_V = 'v', STACKED = 's',
  TABBED = 't', DOCKAREA = 'd', OUTPUT = 'o'
}
 A type of a container's layout.
 
enum  i3ipc::InputType : char { UNKNOWN = '?', KEYBOARD = 'k', MOUSE = 'm' }
 A type of the input of bindings.
 
enum  i3ipc::BarMode : char { UNKNOWN = '?', i3ipc::BarMode::DOCK = 'd', i3ipc::BarMode::HIDE = 'h' }
 A mode of a bar. More...
 
enum  i3ipc::Position : char { UNKNOWN = '?', TOP = 't', BOTTOM = 'b' }
 A position (of a bar?)
 

Detailed Description

Enumeration Type Documentation

enum i3ipc::BarMode : char
strong

A mode of a bar.

Enumerator
DOCK 

The bar sets the dock window type.

HIDE 

The bar does not show unless a specific key is pressed.

Types of the events of i3.

Enumerator
ET_WORKSPACE 

Workspace event.

ET_OUTPUT 

Output event.

ET_MODE 

Output mode event.

ET_WINDOW 

Window event.

ET_BARCONFIG_UPDATE 

Bar config update event.

Attention
Yet is not implemented as signal in connection
ET_BINDING 

Binding event.

enum i3ipc::WindowEventType : char
strong

Types of window events.

Enumerator
NEW 

Window created.

CLOSE 

Window closed.

FOCUS 

Window got focus.

TITLE 

Title of window has been changed.

FULLSCREEN_MODE 

Window toggled to fullscreen mode.

MOVE 

Window moved.

FLOATING 

Window toggled floating mode.

URGENT 

Window became urgent.

enum i3ipc::WorkspaceEventType : char
strong

Types of workspace events.

Enumerator
FOCUS 

Focused.

INIT 

Initialized.

EMPTY 

Became empty.

URGENT 

Became urgent.