adding a menu item



I see how to add single items to an existing menu. But what if I want to add an action group called "My Plugin" which has a submenu such as "run", "debug" etc?

It looks to me that the only way to do it is to make a call to gtk_action_group_add_actions from within my plugin. Is there a simpler way to do this? I tried all sorts of different paths but never figured this out

Mathew

e.g.
Objects
        Send to Back
        Send to Front
        .
        .
       My Plugin
              Run
              Debug



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