View Single Post
10-18-14, 10:38 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Not all methods require an argument. For example, :Show() and :Hide() not take any arguments. Technically you can pass them arguments anyway, but they're just ignored.

Find your widget type here to get a list of all its methods and what arguments they need:
http://wowprogramming.com/docs/widgets
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.