Order in Extensions menu

Order in Extensions menu

Postby Pixero » Thu Jun 13, 2019 2:59 pm

Just a quick question about what decides the order in the Extensions menu?
It's not alphabetic thats for sure.
0
User avatar
Pixero 
 

Re: Order in Extensions menu

Postby TIG » Thu Jun 13, 2019 6:04 pm

It is alphanumeric - and it is based on the name of each RB file that loads the code - the name of the menu item is not relevant.
Native tools load before extensions in menus other than 'Extensions' [aka 'Plugins']
So "Aardvark.rb" can create a menu item named "Zulu" near the start of the Extensions menu, while "Zyx.rb" will create an item named "Aaargh" near the end of the Extensions menu !
If you make your own "Pixero" submenu within your module, and add everything under that submenu, then the items' order is set by the same loading order rules.
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Order in Extensions menu

Postby Pixero » Thu Jun 13, 2019 6:14 pm

Thanks for clarifying it.
I had a hard time finding my own plugin in the menu and thought something was wrong with the code. :roflmao:
0
User avatar
Pixero 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Developers' Forum

cron

Who is online

Users browsing this forum: No registered users and 6 guests

Visit our sponsors: