denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Custom menus


From: Richard Shann
Subject: Re: [Denemo-devel] Custom menus
Date: Fri, 13 Jun 2008 19:22:42 +0100

On Fri, 2008-06-13 at 14:10 +0100, Richard Shann wrote:
...
> Ah! at this point I was forgetting that the same action can appear at
> different places in the menu system. So you would want the callback that
> invokes the manage-shortcuts dialog to be passed where in the menu
> system any new action should be created.

It seems it is difficult to get the path in the menu hierarchy where a
widget is. You can go the other way round with
gtk_ui_manager_get_widget() but the path is just implied by the
denemoui.xml entries. We could parse it and attach the path to the
widget, but does gtk not already do this?
Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]