Method

GtkWidgetPathiter_add_region

Declaration [src]

void
gtk_widget_path_iter_add_region (
  GtkWidgetPath* path,
  gint pos,
  const gchar* name,
  GtkRegionFlags flags
)

Description [src]

Adds the region name to the widget at position pos in the hierarchy defined in path. See gtk_style_context_add_region().

Region names must only contain lowercase letters and “-”, starting always with a lowercase letter.

Available since:3.0
Deprecated since:3.14

The use of regions is deprecated.

Parameters

pos gint
 

Position to modify, -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
 

Flags affecting the region.