Syntax
void GtSetIconResource( const char *name );
Arguments
name is the name of the icon resource compiled into the application.
Return value
No return value.
Description
The executable must contain the resource and the driver must support loading icons from it. Supply the actual resource name as the first argument.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( int argc, char **argv )
{
if( argc != 2 )
{
fprintf( stderr, "Usage: %s resource-name\n", argv[ 0 ] );
return 1;
}
GtSetIconResource( argv[ 1 ] );
QOut( "Press a key to close the terminal." );
Inkey( 0, NIL );
return 0;
}