Shu-Rong, Widget related questions belong in the Flex Viewer Forum:http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-FlexTo answer your question: You will learn more about the inner workings of the Viewer by looking at the source code.The addTitlebarButton function in a widget takes three propertiesA url to a iconA String that will be displayed as the tooltip when you hover over the button.A function that should be called when the button is clicked.and an optional forth which is a Boolean that indicates if the button is a toggle type or a standard button
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.