PtTerminalSizeChange

PtTerminalSizeChange — size change callback information.

Synopsis

class PtTerminalSizeChange
{
    new_size;    // PhPoint
    old_size;    // PhPoint
}
		

Description

This class holds information on size changes generated by Pt_CB_TERM_RESIZE and Pt_CB_TERM_RESIZED callbacks, as well as the Pt_CB_TTY_DEVSIZE callback used by PtTty.

For detailed information, please refer to Pt_CB_TERM_RESIZE in the PtTerminal section and Pt_CB_TTY_DEVSIZE in the PtTty section of the Photon documentation.

Instance Variables

new_size

A PhPoint indicating the new size of the terminal.

old_size

A PhPoint indicating the former size of the terminal.

Associated Classes

PtTerminal, PtTty, PtTtyOutput, PtCallbackInfo