Functions GT

G

GTI_ALTENTER

Query or change the Alt+Enter full screen switch

GTI_CARGO

Store a value of the program in the terminal

GTI_CLIPBOARDDATA

Read or write the text of the clipboard

GTI_CLIPBOARDPASTE

Paste the clipboard into the keyboard buffer

GTI_CLOSABLE

Query or change whether the close button ends the program

GTI_CLOSEMODE

Query or change what the close button does

GTI_COMPATBUFFER

Query or change the format of SaveScreen() buffers

GTI_CONTENTSCALE

Return the scale used to draw the content

GTI_CURSORBLINKRATE

Query or change the blink rate of the cursor

GTI_DESKTOPCOLS

Return the width of the desktop in text columns

GTI_DESKTOPDEPTH

Return the number of color bits of the desktop

GTI_DESKTOPHEIGHT

Return the height of the desktop in pixels

GTI_DESKTOPROWS

Return the height of the desktop in text rows

GTI_DESKTOPWIDTH

Return the width of the desktop in pixels

GTI_DISPIMAGE

Show an image in the window

GTI_DISPLAYSCALE

Return the scale of the display

GTI_ERRORFD

Return the error output handle of the terminal

GTI_EXPOSEAREA

Paint text cells again over graphics

GTI_FILEDIALOG

Show a system dialog to choose files or a folder

GTI_FONTA_CLRBKG

Clear the cell background before drawing a glyph

GTI_FONTA_CTRLCHARS

Display control characters as glyphs

GTI_FONTA_DRAWBOX

Draw box and block characters in the driver

GTI_FONTA_FIXMETRIC

Fixed-width character metrics

GTI_FONTA_NOSTRETCH

Keep glyphs at their original size within a cell

GTI_FONTATTRIBUTE

Query or change how characters are drawn

GTI_FONTNAME

Query or change the name of the font

GTI_FONTQ_DRAFT

Draft font rendering quality

GTI_FONTQ_HIGH

High font rendering quality

GTI_FONTQ_NORMAL

Normal font rendering quality

GTI_FONTQUALITY

Query or change the rendering quality of the font

GTI_FONTSEL

Query or change the font by an X11 font description

GTI_FONTSIZE

Query or change the height of a text cell in pixels

GTI_FONTW_BOLD

Bold font weight

GTI_FONTW_NORMAL

Normal font weight

GTI_FONTW_THIN

Thin font weight

GTI_FONTWEIGHT

Query or change the weight of the font

GTI_FONTWIDTH

Query or change the width of a text cell in pixels

GTI_FULLSCREEN

Check cursor-positioning support using the alias for GTI_ISSCREENPOS

GTI_GETWIN

Save the screen and the cursor

GTI_ICONFILE

Set the icon of the window from a file

GTI_ICONRES

Set the icon of the window from a resource

GTI_INKEYFILTER

Query or change a block that filters the keys

GTI_INKEYREAD

Query or change a block that supplies keys

GTI_INPUTFD

Return the input handle of the terminal

GTI_ISCTWIN

Tell whether the driver has its own CT windows

GTI_ISFULLSCREEN

Query or change the full screen mode

GTI_ISGRAPHIC

Tell whether the terminal can draw in pixels

GTI_ISMULTIWIN

Tell whether the driver can open several windows

GTI_ISSCREENPOS

Tell whether the cursor can be placed anywhere on the screen

GTI_ISUNICODE

Tell whether the terminal works with Unicode

GTI_KBD_ALT

Either Alt key is pressed

GTI_KBD_CAPSLOCK

Caps Lock is active

GTI_KBD_CTRL

Either Ctrl key is pressed

GTI_KBD_INSERT

Insert mode is active

GTI_KBD_KEYPAD

Numeric keypad key state

GTI_KBD_LALT

Left Alt is pressed

GTI_KBD_LCTRL

Left Ctrl is pressed

GTI_KBD_LSHIFT

Left Shift is pressed

GTI_KBD_LWIN

Left Windows key is pressed

GTI_KBD_MENU

Application menu key is pressed

GTI_KBD_NUMLOCK

Num Lock is active

GTI_KBD_RALT

Right Alt is pressed

GTI_KBD_RCTRL

Right Ctrl is pressed

GTI_KBD_RSHIFT

Right Shift is pressed

GTI_KBD_RWIN

Right Windows key is pressed

GTI_KBD_SCROLOCK

Scroll Lock is active

GTI_KBD_SHIFT

Either Shift key is pressed

GTI_KBDSHIFTS

Query or change the state of the shift and lock keys

GTI_KBDSUPPORT

Tell whether the terminal reads the keyboard

GTI_LOGICALHEIGHT

Return the height of the logical screen

GTI_LOGICALWIDTH

Return the width of the logical screen

GTI_MAXIMIZED

Query or change whether the window is maximized

GTI_MINIMIZED

Query or change whether the window is minimized

GTI_MOUSEPOS_XY

Return the mouse position in pixels

GTI_MOUSESTATUS

Query or change whether the mouse is used

GTI_MSGBOX

Show a system message box

GTI_NEWWIN

Redraw a rectangular area of the text screen

GTI_ONLINE

Tell whether the terminal is connected

GTI_OPENURL

Open an address in the default program

GTI_OUTPUTFD

Return the output handle of the terminal

GTI_OUTPUTHEIGHT

Return the height of the window in real pixels

GTI_OUTPUTWIDTH

Return the width of the window in real pixels

GTI_PALETTE

Query or change the 16 colors of the text

GTI_PIXELDENSITY

Return the pixels of the display per window unit

GTI_REDRAWMAX

Query or change how unchanged cells are redrawn

GTI_RENDERERNAME

Return the name of the renderer

GTI_RESIZABLE

Query or change whether the user can resize the window

GTI_RESIZEBLOCK

Query or change the block called after a resize

GTI_RESIZEFONT

Query or change what follows a new window size

GTI_RESIZESTEP

Query or change whether the window size follows whole cells

GTI_SCREENDEPTH

Return the number of color bits of the window

GTI_SCREENHEIGHT

Query or change the height of the window in pixels

GTI_SCREENSIZE

Query or change the size of the window in pixels

GTI_SCREENWIDTH

Query or change the width of the window in pixels

GTI_SELECTCOPY

Query or change copying of a mouse selection

GTI_SETPOS_ROWCOL

Query or change the position of the window in text cells

GTI_SETPOS_XY

Query or change the position of the window in pixels

GTI_SETWIN

Restore a screen saved with GTI_GETWIN

GTI_SOUND

Play a sound file

GTI_STDERRCON

Query or change whether error output goes to the screen

GTI_STDOUTCON

Query or change whether standard output goes to the screen

GTI_SYSMENUADD

Add an item to the system menu of the window

GTI_SYSTEMTHEME

Return the color theme of the system

GTI_VERSION

Return the name of the GT driver

GTI_VIEWMAXHEIGHT

Return the largest number of visible rows

GTI_VIEWMAXWIDTH

Return the largest number of visible columns

GTI_VIEWPORTHEIGHT

Return the number of rows in view

GTI_VIEWPORTWIDTH

Return the number of columns in view

GTI_WINDOWALWAYSONTOP

Query or change whether the window stays on top

GTI_WINDOWBORDERED

Query or change whether the window has a frame

GTI_WINDOWHEIGHT

Return the height of the window area

GTI_WINDOWOPACITY

Query or change the opacity of the window

GTI_WINDOWWIDTH

Return the width of the window area

GTI_WINHANDLE

Return the system handle of the window

GTI_WINTITLE

Query or change the title of the window

GtInfo()

Query or change a setting or invoke a service of the active GT driver

GtVersion()

Return the identifier or description of the active GT driver