Function

PurpleMenuWalkFunc

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.0

Parameters

model GMenuModel
 

The current GMenuModel being walked.

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

The index of the item.

data gpointer
 

User data.

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