native menu system and GTK(3.0)?



Dear people,

I would like to ask if there is plan for OSX native menu integration in
GTK 3.0? I have an idea but I don't know if people want to do the
integration at all.

First, there is the ige-mac-menu from ige-mac-integration package, but
as the developer says there is no plan to integrate it into GTK since
the package doesn't fit. 
Currently, to perfectly synchronize the OSX native menu with the GtkMenu
from the outside is impossible; 
(http://developer.imendio.com/node/216#comment-2126)


Second, I am writing a layer similar to OSX's native menu for GNOME. On
the GTK integration side, since the sync-menu method is not so well, I
am thinking of patching GtkMenuShell and GtkMenuItem, so that they call
the native menu functions remotely[1] whenever some important
properties[2] are changed. I want to listen to you if this method makes
better sense than the first one? Does it seem to be something possible
in GTK 3.0?

Regards,

Yu

[1] remotely: since the native menu are in a different process, the call
has to be a remote one. It is some kind of slow, less than but around
10ms for a call.
[2] submenu, text/title of the internal GtkLabel, accel-*, visible,
enabled; and gtk_menu_shell_insert method.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]