![]() The minimum version of GTK required for compilation if-found, the action The four arguments are optional, and they are: minimum-version, The macros are AM_PATH_GTK_3_0(,, , ) This macro should be used to check that GTK is installed and available forĬompilation. GTK provides various macros for easily checking version and backends The preprocessor symbol GDK_MULTIDEVICE_SAFE by using the command line ![]() Similarly, if you want to make sure that your program doesn’t use anyįunctions which may be problematic in a multidevice setting, you can define GDK_PIXBUF_DISABLE_DEPRECATED and G_DISABLE_DEPRECATED for GDK, GdkPixbuf ![]() There are similar symbols GDK_DISABLE_DEPRECATED, These in your code, use the commandline option -DGTK_DISABLE_DEPRECATED. Still used for deprecated macros, enumeration values, etc. The older deprecation mechanism of hiding deprecated interfaces entirelyįrom the compiler by using the preprocessor symbol GTK_DISABLE_DEPRECATED is $ cc `pkg-config -cflags gtk+-3.0` -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 hello.c -o hello `pkg-config -libs gtk+-3.0`
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |