00001 #ifndef _CON_H 00002 #define _CON_H 00003 00010 Con *con_new(Con *parent, i3Window *window); 00011 00017 void con_focus(Con *con); 00018 00023 bool con_is_leaf(Con *con); 00024 00030 bool con_accepts_window(Con *con); 00031 00037 Con *con_get_output(Con *con); 00038 00043 Con *con_get_workspace(Con *con); 00044 00050 Con *con_parent_with_orientation(Con *con, orientation_t orientation); 00051 00056 Con *con_get_fullscreen_con(Con *con, int fullscreen_mode); 00057 00062 bool con_is_floating(Con *con); 00063 00069 Con *con_inside_floating(Con *con); 00070 00076 Con *con_by_window_id(xcb_window_t window); 00077 00083 Con *con_by_frame_id(xcb_window_t frame); 00084 00090 Con *con_for_window(Con *con, i3Window *window, Match **store_match); 00091 00096 int con_num_children(Con *con); 00097 00108 void con_attach(Con *con, Con *parent, bool ignore_focus); 00109 00114 void con_detach(Con *con); 00115 00122 void con_fix_percent(Con *con); 00123 00129 void con_toggle_fullscreen(Con *con, int fullscreen_mode); 00130 00137 void con_move_to_workspace(Con *con, Con *workspace); 00138 00145 int con_orientation(Con *con); 00146 00153 Con *con_next_focused(Con *con); 00154 00160 Con *con_get_next(Con *con, char way, orientation_t orientation); 00161 00168 Con *con_descend_focused(Con *con); 00169 00178 Con *con_descend_tiling_focused(Con *con); 00179 00186 Rect con_border_style_rect(Con *con); 00187 00198 int con_border_style(Con *con); 00199 00206 void con_set_layout(Con *con, int layout); 00207 00213 Rect con_minimum_size(Con *con); 00214 00215 #endif