forked from jralls/gtk-mac-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
API to integrate GTK+ OS X applications with the Mac desktop
License
lidaobing/gtk-mac-integration
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Gtk-mac-integration Version 3.0.0 Provides integration for Gtk+ applications into the Mac desktop, with support for the Mac menubar, the Dock, and for finding resources in bundles. GtkosxApplication is gobject-introspectable. GtkosxApplication compiles and works with i386, x86_64 and arm64. New Gtk3 applications should prefer the GApplication/GtkApplication and GMenuModel/GMenu APIs which make this library unnecessary. Example and test code may be found in src/test-integration.c; Being GUI code this library is somewhat resistant to useful automated testing. Very rudimentary example usage in Python using gobject-introspection is in src/test-introspection.py. GtkosxApplication is well documented using Gtk-Doc. To build the documentation, pass --enable-gtk-doc to configure. A current copy may be found online at https://jralls.github.io/gtk-mac-integration with additoinal information at https://wiki.gnome.org/Projects/GTK%2B/OSX/. Gtk-mac-integration may be built for either Gtk+-2, Gtk+-3, or since version 2.0.7 both. Because it's not possible to link both libgtk-quartz-2.0.dylib and libgtk-3.dylib, from version 2.0.7 on it builds libgtkmacintegration-gtk2.dylib and/or libgtkmacintegration-gtk3.dylib and provides separate pkgconfig files, gtk-mac-integration-gtk2.pc and gtk-mac-integration-gtk3.pc, for the respective gtk library versions. Since version 2.0.8 it also provides gtk-mac-integration.pc which is a copy of gtk-mac-integration-gtk2.pc *unless only libgtk-mac-integration-gtk3 is built*. This is to avoid breakage of applications last updated before version 2.0.7. Application maintainers are urged not to depend on this as it may not work in all environments and to update their applications to use the appropriate version-specific pc file.
About
API to integrate GTK+ OS X applications with the Mac desktop
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 79.5%
- Objective-C 7.1%
- M4 6.2%
- Shell 3.1%
- Makefile 2.2%
- Python 1.5%
- Scheme 0.4%