Function

PurpleMenuWalkFunc

since: 3.0

Declaration

void
(* PurpleMenuWalkFunc) (
  GMenuModel* model,
  gint index,
  gpointer data
)

Description [src]

Used as a parameter to purple_menu_walk(). While walking, model will be updated to point to the current section or submenu and will only be the model that was passed to purple_menu_walk() for its immediate children.

Available since: 3.0

Parameters

model

Type: GMenuModel

The current GMenuModel being walked.

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

Type: gint

The index of the item.

data

Type: gpointer

User data.

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