General Terminal

GtSetResizable

Enable or disable interactive resizing

Syntax

Signature
void GtSetResizable( xBool on );

Arguments

on enables the setting with T or disables it with F.

Return value

No return value.

Description

Controls interactive resizing through the window manager. Check the resulting state with GtIsResizable().

Example

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

#include <stdio.h>

int main( void )
{
   xBool previous = GtIsResizable();

   GtSetResizable( F );
   printf( "Resizable state: %s\n", GtIsResizable() ? "on" : "off" );
   GtSetResizable( previous );

   return 0;
}

See also