Method

GtkWidgetPathiter_has_region

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 gint
 

Position to query, -1 for the path head.

name const gchar*
 

Region name.

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

Return location for the region flags.

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

Return value

Returns: gboolean
 

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