CTK_WIDGET_FOCUS(&window, &themetextentry);
CTK_WIDGET_FOCUS(&window, &cfstextentry);
EK_EVENTHANDLER(eventhandler, ev, data){  EK_EVENTHANDLER_ARGS(ev, data);  if(ev == EK_EVENT_INIT) {    /* Create window. */    ctk_window_new(&window, 32, 18, "Config editor");    CTK_WIDGET_ADD(&window, &cfslabel);      CTK_WIDGET_ADD(&window, &cfstextentry);    CTK_WIDGET_ADD(&window, &themelabel);      CTK_WIDGET_ADD(&window, &themetextentry);        CTK_WIDGET_ADD(&window, &driverlabel);      CTK_WIDGET_ADD(&window, &drivertextentry);    CTK_WIDGET_ADD(&window, &screensaverlabel);      CTK_WIDGET_ADD(&window, &screensavertextentry);    CTK_WIDGET_ADD(&window, &ipaddrlabel);      CTK_WIDGET_ADD(&window, &ipaddrtextentry);    CTK_WIDGET_ADD(&window, &netmasklabel);    CTK_WIDGET_ADD(&window, &netmasktextentry);    CTK_WIDGET_ADD(&window, &gatewaylabel);    CTK_WIDGET_ADD(&window, &gatewaytextentry);    CTK_WIDGET_ADD(&window, &dnsserverlabel);    CTK_WIDGET_ADD(&window, &dnsservertextentry);    CTK_WIDGET_ADD(&window, &savebutton);    CTK_WIDGET_ADD(&window, &cancelbutton);            CTK_WIDGET_FOCUS(&window, &themetextentry);      /* Fill the configuration strings with values from the current       configuration */    initscript();        ctk_window_open(&window);  } else if(ev == ctk_signal_button_activate) {       if(data == (ek_data_t)&savebutton) {      quit_services();      savescript();      ctk_window_close(&window);      configedit_quit();      program_handler_load("config.prg", NULL);    } else if(data == (ek_data_t)&cancelbutton) {      ctk_window_close(&window);      configedit_quit();    }  } else if(ev == ctk_signal_window_close ||	    ev == EK_EVENT_REQUEST_EXIT) {    ctk_window_close(&window);    configedit_quit();  }}