Jetpack/FAQ: Difference between revisions

Jump to navigation Jump to search
Line 109: Line 109:
'''How can I have a Preferences UI/Options UI for my add-on? '''  
'''How can I have a Preferences UI/Options UI for my add-on? '''  


At the moment the Add-on SDK and Add-on Builder Beta don't offer a module to give you a Preferences/Options UI for your add-on. You have to build the UI yourself using the basic UI components provided.
The [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/packages/addon-kit/docs/simple-prefs.html <code>simple-prefs</code>] module offers basic support for preferences.
 
We will provide a module for this in future releases of the Add-on SDK and Add-on Builder.  


'''Why can't I create Firefox toolbars using the Add-on SDK / Add-on Builder Beta? '''  
'''Why can't I create Firefox toolbars using the Add-on SDK / Add-on Builder Beta? '''  
Line 121: Line 119:
'''Can I add items to Firefox's menus in my add-on? '''  
'''Can I add items to Firefox's menus in my add-on? '''  


No you cannot. You can add items to the context menu, but not the main menu.  
No you cannot. You can add items to the context menu, but not the main menu. We'll add support for this in a future release. There is a "menu items" module listed in the [https://wiki.mozilla.org/Labs/Jetpack/Modules Additional Modules] page, that enables you to do this.


'''How can I customize my widget's context menu? '''  
'''How can I customize my widget's context menu? '''  
canmove, Confirmed users
737

edits

Navigation menu