Constructor

FoundryAcpContentBlocknew_text

unstable since: 1.2

Declaration [src]

FoundryAcpContentBlock*
foundry_acp_content_block_new_text (
  const char* text
)

Description [src]

Creates an ACP text content block.

Available since: 1.2

Parameters

text

Type: const char*

UTF-8 text.

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

Return value

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