Skip to content

Known issues and limitations

vmagnin edited this page May 12, 2022 · 2 revisions

Parsing more than 750 .h header files is not an easy task. So gtk-fortran can not implement 100% of GTK functions and constants and have some limitations:

  • Around 135 functions with optional arguments (variadic fuctions) are not implemented. But these functions are often also available with an array argument to solve binding problems (for example gtk_list_store_new / gtk_list_store_newv). See http://live.gnome.org/GObjectIntrospection/WritingBindingableAPIs
  • Very few GTK types are not yet implemented.
  • Macro functions and constants (#define) are not implemented.
  • Structures (struct) are not implemented.
  • Some enums are excluded by cfwrapper.py: "GSocketFamily", "GSocketMsgFlags", "GdkPixdataType", "GIOCondition", "GDBusInterfaceSkeletonFlags", "GdkSeatCapabilities", "GdkAxisFlags".
  • Fortran has no unsigned integers, so problems could occur if you pass great values between Fortran and GTK. See the tests.f90 file.

See also the list of opened issues.

Clone this wiki locally