Method

GtkStyleContexthas_region

Declaration [src]

gboolean
gtk_style_context_has_region (
  GtkStyleContext* context,
  const gchar* region_name,
  GtkRegionFlags* flags_return
)

Description [src]

Returns TRUE if context has the region defined. If flags_return is not NULL, it is set to the flags affecting the region.

Available since:3.0

Parameters

region_name const gchar*
 

A region name.

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

Return location for region flags.

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

Return value

Returns: gboolean
 

TRUE if region is defined.