Jump to content


Photo

How to add plugins to the main menu


  • Please log in to reply
3 replies to this topic

#1 boncuk10

  • Member
  • 3 posts

0
Neutral

Posted 10 July 2016 - 09:07

Hi, how i can add my installed plugins to the main menu?

Re: How to add plugins to the main menu #2 littlesat

  • PLi® Core member
  • 57,208 posts

+700
Excellent

Posted 10 July 2016 - 09:15

The plugin should get an option so thr plugin does register to the mainmenu.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: How to add plugins to the main menu #3 carlosfcp

  • Member
  • 1 posts

0
Neutral

Posted 10 July 2016 - 15:50

realy don't know but if you want get acess faster to the pluggin you can creat  a 

'hotkey'

menu / setup / system / hotkey / now just choise the key.

this is on vu+



Re: How to add plugins to the main menu #4 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 10 July 2016 - 16:14

def startXXX(session, **kwargs):                                             
        session.open(XXXXX)              

 

PluginDescriptor(name=_("XXX"), description="xxxxx", where=PluginDescriptor.WHERE_MENU, fnc=mainconf)]
                                                                                
def mainconf(menuid):                                                           
        if menuid == "mainmenu":                                                
                return [(_("XXX"), startXXX, "xxx", None)]
 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users