Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Sorry if this has been asked before, i'm new to launchbox plugin development and couldnt find the answer i was looking for.

If i want to create a number of new game menu items (having implemented the IGameMenuItemPlugin in my class) under a common parent can i do this?

e.g a menu item for 'My Plugin', with sub menu items 'Do this', 'Do That' and 'Do the other'

 

Thanks.

Posted
39 minutes ago, DRUMZEY said:

Sorry if this has been asked before, i'm new to launchbox plugin development and couldnt find the answer i was looking for.

If i want to create a number of new game menu items (having implemented the IGameMenuItemPlugin in my class) under a common parent can i do this?

e.g a menu item for 'My Plugin', with sub menu items 'Do this', 'Do That' and 'Do the other'

 

Thanks.

http://pluginapi.launchbox-app.com/html/4cf923f7-940c-5735-83de-04107a6ae0e6.htm

 

Posted

@DRUMZEY Unfortunately nested menu items like that are not possible currently. Your best bet for the moment would be to just add several IGameMenuItemPlugin classes (all the menu items would be added to the root), or come up with your own popup window for the various options after selecting the menu item.

Posted

Thanks for the info. The link above just took me to the API docs which I had already read. I guess ill just have to live with multiple items! Do you think there would be any plan in the future to implement this? Its a pretty common thing you might want to do.

  • 2 weeks later...
Posted
On 2/5/2020 at 11:30 PM, DRUMZEY said:

Thanks for the info. The link above just took me to the API docs which I had already read. I guess ill just have to live with multiple items! Do you think there would be any plan in the future to implement this? Its a pretty common thing you might want to do.

We may at some point, but honestly it hasn't been a common request, so it probably isn't going to be prioritized soon.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...