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

Type: gint

Position to modify, -1 for the path head.

name

Type: const gchar*

Region name.

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

Type: GtkRegionFlags

Flags affecting the region.