Title says it all, is there an way to create a plugin button with a menu…?
I am talking about those buttons that have a little arrow beneath them and depending on what is clicked (the plugin icon or the arrow) plugin activation or a dropdown might happen/appear.
Here are some pictures on what I am talking about. Buttons 1,2,4 and 5 are regular Plugin Buttons (which we can create with PluginToolbar:CreateButton()) and the part button (labeled: 3) is a Button with a menu.
Image below shows what happens when you click the bottom (arrow) part. If we clicked the upper part, a plugin action would trigger (a part will be inserted), however when we clicked the arrow a dropdown menu appears)
Perhaps you didn’t understand my post correctly, I am not looking to create a menu, :CreatePluginMenu() creates just a menu, however I am looking to create a type of a Plugin Button seen below.
Blue - Special Plugin Button (Button w/ Menu)
Orange - Plugin Menu
I could connect the Plugin Menu’s :ShowAsync() method to Plugin Button’s .Click event, however because of the nature of my plugin, I would highly prefer to use the Plugin Button w/ a Menu just like the one seen above.
I’ve done some research on this topic and it seems as it is not possible to create this type of Plugin Button, unfortunately.