A general messagebox src code paragraph for debug in Gtk+ programming
2015-01-02 10:10
344 查看
#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 "About" dialog src code paragraph in Gtk+ programming
- DTS Programming Techniques Used in Microsoft SQL Server Accelerator for Business Intelligence
- Programming Windows TCP Sockets in C++ for the Beginner
- 欢迎使用 FreeCode for VS60/VS2005 Add-in
- CODEBASE for the Java™ Programming Language
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- Code Conventions for the Java Programming Language
- Serial library for C++. Free source code and programming help
- 欢迎使用 FreeCode for VS60/VS2005 Add-in
- Code Conventions for the JavaScript Programming Language (From WAN)
- CodeProject: EasySize - Dialog resizing in no time!. Free source code and programming help
- The Essentials for Using COM in Managed Code
- Rules for Code Tuning (From Programming Pearls)
- General issues in using variables -- Code complete reading notes(10)
- 欢迎使用 FreeCode for VS60/VS2005 Add-in
- use MyButton is simple,only add two file and then add some code just bellow in any dlg src declear the button control and will ok!
- Source Code for the Built-in ASP.NET 2.0 Providers Now Available for Download !
- Code Project Browser Add-In for VS
- 好文推荐:Development Tools and Techniques for Working with Code in Windows SharePoint Services 3.0
- 欢迎使用 FreeCode for VS60/VS2005 Add-in