Method

FoundryContextdup_title_with_fallback

unstable since: 1.2

Declaration [src]

char*
foundry_context_dup_title_with_fallback (
  FoundryContext* self
)

Description [src]

Gets the title of the context.

If FoundryContext:title is unset, the basename of FoundryContext:project-directory will be used instead.

Available since: 1.2

Return value

Type: char*

The title of the context, or NULL when the context is shared.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.