paip.解决 Gtk-CRITICAL **: IA__gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
作者Attilax , EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
原因:
glade文件没寻找到..或者格式错误 或者控件名称错误 或者在的错误
调试`过程:
//
加入以下代码.
GError *err = NULL;
if(0== gtk_builder_add_from_file(pBuilder,"c:/haloc9.gtkfmt",&err))
{
/* Print out the error. You can use GLib's message logging */
fprintf(stderr, "Error adding build from file. Error: %s\n", err->message);
/* Your error handling code goes here */
}
解决:
//
根据具体的提示解决:
比如Error adding build from file. E
作者Attilax , EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
原因:
glade文件没寻找到..或者格式错误 或者控件名称错误 或者在的错误
调试`过程:
//
加入以下代码.
GError *err = NULL;
if(0== gtk_builder_add_from_file(pBuilder,"c:/haloc9.gtkfmt",&err))
{
/* Print out the error. You can use GLib's message logging */
fprintf(stderr, "Error adding build from file. Error: %s\n", err->message);
/* Your error handling code goes here */
}
解决:
//
根据具体的提示解决:
比如Error adding build from file. E