The Store Wish List action menu dialog
======================================

So, your addon wants to add an action to the Store Wish List dialog's item
action menu.  Well, first off, thanks for helping make this addon more
useful. ;)  You can add actions using the 'WishListDialog:generateActions'
hook described below.

WishListDialog:generateActions
------------------------------
  Called from WishListDialog:generateActionsList() to build the list of
  available actions for the selected item on the wish list dialog.
  self is:	The Store Wish List dialog
  data{} fields:
    dialog	The Store Wish List dialog.
    item	The item in the wish list dialog for which an action list
		is being built.
    list	The list of actions being built.  Your hook may add actions
		to this list.

  Each action you add should be a table with the following fields:
    name	The action name, as it should appear on the item action
		dialog.
    action(d_item, action, w_item):
		A method that will be called when your action is selected.
		Your method will be called with two arguments:
		  d_item	The dialog list item for which the action
				is being triggered.  See the method
				WishListDialog:generateList() for
				information about the contents of this
				table.  Notable in this table is item.idx,
				the index of the relevant item in the store
				wish list
		  action	The action table for your action.
		  w_item	The item in the player's store wish list.
				See our added ShowStore:addToWishList()
				method for information on the contents of
				wish list items.

  Your action's method can use use the dialog's :generateList() and
  :selectItem() methods to regenerate the dialog's list as needed; see
  examples in WishListDialog:generateActions().

($Id: hooks.txt 5040 2024-10-25 14:48:47Z dsb $)
