I have created a shelf icon using `shelfbutton` and I am adding a drop down menu which is created using the `popupMenu` and `menuItem`.
Good news is that, everything is working as I expected it to be.
This is not a biggie but when I tried to incorporate the command `image (-i)` flag for menuItem, it seems that the image is not loading at all.
shelfButton
-enableCommandRepeat 0
-enable 1
-width 34
-height 34
-label "Quick Access"
-image "quick_access.png"
-style "iconOnly"
-marginWidth 1
-marginHeight 1
-sourceType "python"
popupMenu -b 1;
menuItem -stp "python" -i "/user_data/model_picker.png" -l "Model Picker" -c "import model_picker; model_picker.main()";
For the image path, I did try using `"model_picker.png"` and making sure that the image is in the icons folders. Also no errors are thrown when I run it, and so I am not sure if my images does gets called, or perhaps there are something that I have did wrongly.
Any ideas?