[MacPorts] #28911: GTK integration in OSX

MacPorts noreply at macports.org
Sat Mar 26 13:54:15 PDT 2011


#28911: GTK integration in OSX
-----------------------------------------------------------------------------------------------------+
 Reporter:  james.r.haigh@…                                                                          |       Owner:  macports-tickets@…                   
     Type:  request                                                                                  |      Status:  new                                  
 Priority:  Not set                                                                                  |   Milestone:                                       
Component:  ports                                                                                    |     Version:  1.9.2                                
 Keywords:  global menu globalmenu menubar x11 gtk integration mac osx native quartz aqua interface  |        Port:                                       
-----------------------------------------------------------------------------------------------------+
Description changed by ryandesign@…:

Old description:

> With regards to a GTK native look and feel, I aimed to solve these
> problems:[[BR]]
> * integrate menus with OSX's menu bar[[BR]]
> * native looking widgets[[BR]]
> * change ctrl-alpha bindings to cmd-alpha
>
> Current solution: `gtk2 +no_x11 +quartz` with a theme such as `gtk-osx-
> tiger`.
>
> Problems:[[BR]]
> * apps start behind the currently focused window[[BR]]
> * some ports require `+x11` (such as some of `yelp`'s dependencies)[[BR]]
> * 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''':[[BR]]
> 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.

New 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 of `yelp`'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''':[[BR]]
 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.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/28911#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list