Ewl_Widget *p1, *p2, *o, *o2; p1 = ewl_paned_new(); ewl_paned_orientation_set(EWL_PANED(p), EWL_ORIENTATION_VERTICAL); ewl_container_child_append(EWL_CONTAINER(win), p1); ewl_widget_show(p1); p2 = ewl_paned_new(); ewl_container_child_append(EWL_CONTAINER(p1), p2); ewl_widget_show(p2); o2 = ewl_button_new(); ewl_button_label_set(o2, "Left"); ewl_container_child_append(EWL_CONTAINER(p2), o2); ewl_widget_show(o2); o2 = ewl_button_new(); ewl_button_label_set(o2, "Right"); ewl_container_child_append(EWL_CONTAINER(p2), o2); ewl_widget_show(o2); o2 = ewl_button_new(); ewl_button_label_set(o2, "Bottom"); ewl_container_child_append(EWL_CONTAINER(p1), o2); ewl_widget_show(o2);