Linking glade file with program g++

前端 未结 1 1570
半阙折子戏
半阙折子戏 2021-01-26 06:19

Glade files and the program files can get a bit messy, this becomes a problem when you want your program to be portable. Is there any way to bind your program with your glade fi

相关标签:
1条回答
  • 2021-01-26 06:42

    You can use Gio Resources to include the contents of your .glade files in the application, and then use GtkBuilder's add_from_resource() to load them: https://developer.gnome.org/gtkmm-tutorial/stable/sec-gio-resource.html.en

    0 讨论(0)
提交回复
热议问题