问题描述
- GTK,用到了GtkBuilder,在从GtkBuilder获取对象的时候,
-
GTK,用到了GtkBuilder,在从GtkBuilder获取对象的时候, window=GTK_WIDGET(gtk_builder_get_object(builder,"window")); 检测到这句为失败,及window=NULL,怎么回事?怎么解决?
时间: 2024-12-12 15:39:38
GTK,用到了GtkBuilder,在从GtkBuilder获取对象的时候,
window=GTK_WIDGET(gtk_builder_get_object(builder,"window"));
检测到这句为失败,及window=NULL,怎么回事?怎么解决?