Constructor

HeContentBlocknew

Declaration

HeContentBlock*
he_content_block_new (
  const gchar* title,
  const gchar* subtitle,
  const gchar* icon,
  HeButton* primary_button,
  HeButton* secondary_button
)

Description [src]

Constructs a new ContentBlock..

Parameters

title

Type: const gchar*

The title of the content block. .

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

Type: const gchar*

The subtitle of the content block. .

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

Type: const gchar*

The icon of the content block. .

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

Type: HeButton

The primary button of the content block. .

The data is owned by the caller of the function.
secondary_button

Type: HeButton

The secondary button of the content block. .

The data is owned by the caller of the function.

Return value

Type: HeContentBlock

No description available.

The data is owned by the called function.