Function

Purplemenu_walk

since: 3.0

Declaration [src]

void
purple_menu_walk (
  GMenuModel* model,
  PurpleMenuWalkFunc func,
  gpointer data
)

Description [src]

Recursively calls func for each item in model and all of its children.

Available since: 3.0

Parameters

model

Type: GMenuModel

A GMenuModel to walk.

The data is owned by the caller of the function.
func

Type: PurpleMenuWalkFunc

The function to call.

data

Type: gpointer

User data to pass for func.

The argument can be NULL.
The data is owned by the caller of the function.