@foreach


Description:

public void @foreach (void* func, void* data)

This calls the function func on this menu item and all of the children of this item.

And their children. And their children. And... you get the point. It will get called on the whole tree.

Parameters:

this

The DbusmenItem to start from

func

Function to call on every node in the tree

data

User data to pass to the function