Function

Pango.attr_insert_hyphens_new

Declaration [src]

PangoAttribute*
pango_attr_insert_hyphens_new (
  gboolean insert_hyphens
)

Description [src]

Create a new insert-hyphens attribute.

Pango will insert hyphens when breaking lines in the middle of a word. This attribute can be used to suppress the hyphen.

Available since:1.44

Parameters

insert_hyphens gboolean
 

TRUE if hyphens should be inserted

Return value

Returns: PangoAttribute

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().

The caller of the function takes ownership of the data, and is responsible for freeing it