Method

GtkWidgetPathiter_has_name

since: 3.0

Declaration [src]

gboolean
gtk_widget_path_iter_has_name (
  const GtkWidgetPath* path,
  gint pos,
  const gchar* name
)

Description [src]

Returns TRUE if the widget at position pos has the name name, FALSE otherwise.

Available since: 3.0

Parameters

pos

Type: gint

Position to query, -1 for the path head.

name

Type: const gchar*

A widget name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the widget at pos has this name.