December 21, 2024

Dynamic Windows Function [dw_font_choose]

Syntax

char * dw_font_choose(char *currfont)

Parameters

char *currfont: The current font in the chooser dialog.

Returns

char * A malloced buffer with the selected font or NULL on error.

Description

Allows the user to choose a font using the system's font chooser dialog.

Remarks

This API was introduced in version 2.1.

The returned string must be freed with dw_free() after use.