Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
several register by python file ?
#2
You can register several plugins in a single python file, just call register() once for each. I have plugins that register twenty of more entries. And remember that there is nothing special to the parameters of register(), they can be variables, so you can define values in a single place (author, copyright, maybe root menu or some plugin parameter definition) and reuse them in each register() call.
Reply


Messages In This Thread
RE: several register by python file ? - by Ofnuts - 07-25-2023, 09:59 PM
RE: several register by python file ? - by Ofnuts - 07-30-2023, 05:32 PM

Forum Jump: