DwtButton: Difference between revisions

mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Zimbra AjaxTk]]->[[DHTML Widget Toolkit]]->[[Widgets]]
[[Zimbra AjaxTk]]->[[DHTML Widget Toolkit]]->[[Widgets]]
----
----
Line 6: Line 5:
setMenu(menuOrCallback, shouldToggle, followIconStyle)
setMenu(menuOrCallback, shouldToggle, followIconStyle)
Adds a dropdown menu to the button, available through a small down-arrow.
Adds a dropdown menu to the button, available through a small down-arrow.
* menuOrCallback The dropdown menu or an AjxCallback object. If a
* menuOrCallback The dropdown menu or an AjxCallback object. If a callback is given, it is called the first time the                          menu is requested. The callback must return a valid DwtMenu object.
                          callback is given, it is called the first time the
                           menu is requested. The callback must return a valid  
                          DwtMenu object.
* shouldToggle
* shouldToggle
* followIconStyle style of menu item (should be checked or radio style) for
* followIconStyle style of menu item (should be checked or radio style) for
which the button icon should reflect the menu item icon
which the button icon should reflect the menu item icon

Revision as of 21:21, 15 April 2006

Zimbra AjaxTk->DHTML Widget Toolkit->Widgets


Methods setMenu(menuOrCallback, shouldToggle, followIconStyle) Adds a dropdown menu to the button, available through a small down-arrow.

  • menuOrCallback The dropdown menu or an AjxCallback object. If a callback is given, it is called the first time the menu is requested. The callback must return a valid DwtMenu object.
  • shouldToggle
  • followIconStyle style of menu item (should be checked or radio style) for

which the button icon should reflect the menu item icon

Jump to: navigation, search