Calls func
for each category stored in the comp
.
comp |
an Component |
func |
an UtilForeachCategoryFunc callback to call for each category |
user_data |
user data passed to the |