Syntax
void GtSetResizeStep( xBool on );
Arguments
on enables the setting with T or disables it with F.
Return value
No return value.
Description
Controls whether interactive window resizing snaps to whole text cells. Check the resulting state with GtIsResizeStep().
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
xBool previous = GtIsResizeStep();
GtSetResizeStep( T );
printf( "Resize Step state: %s\n", GtIsResizeStep() ? "on" : "off" );
GtSetResizeStep( previous );
return 0;
}