General Terminal

GtSetTitle

Set the window title

Syntax

Signature
void GtSetTitle( const char *title );

Arguments

title is the UTF-8 window title. Pass NULL for an empty title.

Return value

No return value.

Description

Sets the title shown by the window manager. Use GtGetTitle() to query the title reported by the driver.

Example

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

#include <stdio.h>

int main( void )
{
   GtSetTitle( "Inventory" );
   puts( GtGetTitle() );

   return 0;
}

See also