Method

GtkWidgetPathiter_has_region

deprecated: 3.14 since: 3.0

Declaration [src]

gboolean
gtk_widget_path_iter_has_region (
  const GtkWidgetPath* path,
  gint pos,
  const gchar* name,
  GtkRegionFlags* flags
)

Description [src]

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

Available since: 3.0

Deprecated since: 3.14

The use of regions is deprecated.

Parameters

pos

Type: gint

Position to query, -1 for the path head.

name

Type: const gchar*

Region name.

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

Type: GtkRegionFlags

Return location for the region flags.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

TRUE if the class name is defined for the widget at pos.