December 21, 2024

Dynamic Windows Function [dw_window_set_font]

Syntax

int dw_window_set_font(HWND handle, char *fontname)

Parameters

HWND handle: The window (widget) handle.
char *fontname: Name and size of the font in the form "size.fontname"

Returns

int DW_ERROR_NONE (0) on success.

Description

Sets the font used by a specified window (widget) handle.

Remarks

GTK may not change the actual font used, but it may change the parameters such as point size, bold and italic.