Button ok = (Button)glade.getWidget("btn_ok");
ok.connect(new GUIEventPipe(this, "ok"));
Button cancel = (Button)glade.getWidget("btn_cancel");
cancel.connect(new GUIEventPipe(this, "cancel"));
}
public void onClicked(Widget widget, String userData)
{
if(userData.equals("ok"))