一个简单的GTK的例子程序
源代码: 编译命令和结果: 一些解释说明: The file includes all of the widgets, variables, functions, and structures available in GTK+ as well as header files from other libraries that GTK+ depends on. When you implement applications using GTK+, it is enough to use only , except for some advanced applications. The following code declares a pointer variable for a GtkWidget object. GtkWidget *window; A GTK+ program consists of widgets. Components such as windows, buttons, and scrollbars are ca

心情分类
推荐日记
分享排行