The OpenD Programming Language

TerminalEmulatorWindow

Represents the window that the library pops up for you.

version(TerminalDirectToEmulator)
final
class TerminalEmulatorWindow : MainWindow {
version(Windows)
HANDLE readPipe;
version(Posix)
int readFd;
TerminalEmulator.TerminalCell[] delegate(TerminalEmulator.TerminalCell[] i) parentFilter;
}

Members

Functions

characterCellSize
Size characterCellSize()

Returns the size of an individual character cell, in pixels.

terminalEmulator
TerminalEmulator terminalEmulator()

Gives access to the underlying terminal emulation object.

Inherited Members

From MainWindow

setMenuAndToolbarFromAnnotatedCode
void setMenuAndToolbarFromAnnotatedCode(T t)

Adds a menu and toolbar from annotated functions. It uses the top-level annotations from this module, so it is better to put the commands in a separate struct instad of in your window subclass, to avoid potential conflicts with method names (if you do hit one though, you can use @(.icon(...)) instead of plain @icon(...) to disambiguate, though).

toolBar
ToolBar toolBar()
toolBar
ToolBar toolBar(ToolBar t)
menuBar
MenuBar menuBar()
menuBar
MenuBar menuBar(MenuBar m)
clientArea
Widget clientArea [@property getter]
statusBar
StatusBar statusBar [@property getter]
StatusBar statusBar [@property setter]

Returns the window's StatusBar. Be warned it may be null.

Meta