static void quit(
void *wid, gpointer data) {
gtk_main_quit();
}
static void getText(void *wid, gpointer data) {
string text;
(*tv)>>text;
cout<<text<<endl;
}
static void changedText(void *wid, gpointer data) {
string text;
(*tv)>>text;
cout<<"New text is = "<<text<<endl;
}
int main(
int argc,
char *argv[]) {
gtk_init( &argc, &argv );
textView<<"some text";
topWindow << (
HBox()<<buttons<<textView.
show()).show();
gtk_main();
}