static void quit(
void *wid, gpointer data) {
gtk_main_quit();
}
static void selectionCallback(void *wid, gpointer data){
char text[128];
std::cout<<"you selected : "<<text<<std::endl;
string textS;
std::cout<<"you selected : "<<textS<<std::endl;
}
int main(
int argc,
char *argv[]) {
gtk_init( &argc, &argv );
Selection selection(
"test list items",G_CALLBACK(selectionCallback));
selection<<"test"<<"this"<<"one";
topWindow<< hBox;
gtk_main();
}