首页 > 代码库 > A general messagebox src code paragraph for debug in Gtk+ programming

A general messagebox src code paragraph for debug in Gtk+ programming

#define debug_msg_box() \{     GtkWidget *msg_dlg = gtk_message_dialog_new(NULL,                 GTK_DIALOG_DESTROY_WITH_PARENT,                 GTK_MESSAGE_INFO,                 GTK_BUTTONS_OK,                 FUNC: %s \nLINE: %d \nFILE: %s,                 __FUNCTION__, __LINE__, __FILE__);     gtk_dialog_run(GTK_DIALOG( msg_dlg));     gtk_widget_destroy(msg_dlg); }

 

A general messagebox src code paragraph for debug in Gtk+ programming