#include #include #include "btk/btk.h" btk_session_t *s = NULL; btk_window_t *w = NULL; btk_window_t *W[1]; int main(int argc, char **argv) { s = btk_open(); w = btk_window_create(s->x_con, s->x_scr, s->x_vis, 1, 1, 0, 0, 200, 0, 1, NULL); btk_window_set_name(w, "hello world"); btk_cell_set_mark(&(w->cells[0]), 0, 0, 1, BTK_JUSTIFY_LEFT, "hello world"); W[0] = w; btk_map(s, w); btk_loop(s, W, 1); btk_close(s); return 0; }