static void run(void *wid, gpointer data) {
GtkWidget *win=(GtkWidget*)data;
messageInfo.
title((
char *)
"this is the title");
{
string txt("Warning");
gtk_main_quit();
}
static void runPango(void *wid, gpointer data) {
GtkWidget *win=(GtkWidget*)data;
Pango pango; pango<<
Font((
char *)
"Sans 12") <<
ColourLineSpec((
char *)
"r") <<(
char *)
" Sans font size 12 text"<<
Font((
char *)
"")<<(
char *)
" and this is not formatted";
messageInfo.
title((
char *)
"this is the title");
gtk_main_quit();
}
int main(
int argc,
char *argv[]) {
gtk_init( &argc, &argv );
hBox<<buttons;
topWindow<<hBox;
gtk_main();
}