Author Topic: Menu item order/position  (Read 2284 times)

Offline daniloz

  • Regular
  • ***
  • Posts: 268
Menu item order/position
« on: September 15, 2011, 10:53:52 am »
Hi all,

I'm writing a plugin and adding menu items to the ProjectManager context menu and to the Tab context menu.
I've noticed that the menus are inserted in the order that C::B asks the plugins for adding their items.

My question is: Is it possible to change the position that my plugin inserts an item to the menu? I can see how to "move it upwards", but I'd like rather to "move it downwards", for example, put it at the end of the context menu.

Any ideas?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12006
    • Travis build status
Re: Menu item order/position
« Reply #1 on: September 15, 2011, 10:55:13 am »
No ideas, the menu system in C::B is pretty much broken.

p.s. Ideas for fixing it are very welcome. I've thought about it, but couldn't get to a good solution.
« Last Edit: September 15, 2011, 11:07:55 am by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]