Syntax
void GtSetMaximized( xBool on );
Arguments
on enables the setting with T or disables it with F.
Return value
No return value.
Description
Controls maximization of the terminal window through the window manager. Check the resulting state with GtIsMaximized().
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
xBool previous = GtIsMaximized();
GtSetMaximized( T );
printf( "Maximized state: %s\n", GtIsMaximized() ? "on" : "off" );
Inkey( 2, NIL );
GtSetMaximized( previous );
return 0;
}