General Terminal

GtGetRendererName

Get the renderer name

Syntax

Signature
const char *GtGetRendererName( void );

Arguments

No arguments.

Return value

A driver-reported renderer string, such as WVT/GDI.

Description

Use it in diagnostics for the currently selected driver. The library replaces the returned buffer on the next call.

Example

gtgetrenderername.c
#include "xdev-wtui.h"

#include <stdio.h>

int main( void )
{
   printf( "Renderer: %s\n", GtGetRendererName() );

   return 0;
}

See also