DRUMZEY Posted February 5, 2020 Share Posted February 5, 2020 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. Quote Link to comment Share on other sites More sharing options...
neil9000 Posted February 5, 2020 Share Posted February 5, 2020 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 Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted February 5, 2020 Share Posted February 5, 2020 @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. Quote Link to comment Share on other sites More sharing options...
DRUMZEY Posted February 6, 2020 Author Share Posted February 6, 2020 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. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted February 18, 2020 Share Posted February 18, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.