Method

GntWMforeach

since: 3.0

Declaration [src]

void
gnt_wm_foreach (
  GntWM* wm,
  GHFunc func,
  gpointer user_data
)

Description [src]

Calls the given function for each of the GntWidget / GntNode pairs in the GntWM. The function is passed the widget and node of each pair, and the given user_data parameter. The window manager may not be modified while iterating over it (you can’t add/remove widgets).

Available since: 3.0

Parameters

func

Type: GHFunc

The function to call for each key/value pair.

user_data

Type: gpointer

User data to pass to the function.

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