Opened 14 years ago
Last modified 12 years ago
#28911 new request
GTK integration in OSX — at Initial Version
Reported by: | james.r.haigh@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Not set | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
With regards to a GTK native look and feel, I aimed to solve these problems:
- integrate menus with OSX's menu bar
- native looking widgets
- change ctrl-alpha bindings to cmd-alpha
Current solution: gtk2 +no_x11 +quartz
with a theme such as gtk-osx-tiger
.
Problems:
- apps start behind the currently focused window
- some ports require
+x11
(such as some ofyelp
's dependencies)
- each binding has to be manually added
The solution I have currently is adequate for now, but I would like to work on a more long-term solution based on GlobalMenu:
http://code.google.com/p/gnome2-globalmenu/issues/detail?id=136&q=mac
X11 apps start in the foreground. I notice that with gtk2 +x11
, X11.app responds to cmd-Q even when the gtk app is focused. So some combination of X11 and GlobalMenu could make the best solution. X11.app's menus could be replaced with GlobalMenu, it could capture cmd-alpha and send ctrl-alpha to the gtk app. X11.app's dock icon could be hidden.
What do you think?
James.