Method

GtkThemingEnginehas_region

deprecated: 3.14 since: 3.0

Declaration [src]

gboolean
gtk_theming_engine_has_region (
  GtkThemingEngine* engine,
  const gchar* style_region,
  GtkRegionFlags* flags
)

Description [src]

Returns TRUE if the currently rendered contents have the region defined. If flags_return is not NULL, it is set to the flags affecting the region.

Available since: 3.0

Deprecated since: 3.14

Please do not use it in newly written code.

Parameters

style_region

Type: const gchar*

A 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 region flags.

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

Return value

Type: gboolean

TRUE if region is defined.