Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: daniloz on September 15, 2011, 10:53:52 am

Title: Menu item order/position
Post by: daniloz 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?
Title: Re: Menu item order/position
Post by: oBFusCATed 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.