Download Now

    Reference Codebot.Terminal.Controls.pas

    Part of the Codebot Terminal package

    Codebot.Terminal.Controls holds TTerminal, a control which is a terminal emulator running the shell of the user. It uses the VTE library of the gnome terminal, and the package only builds with the Gtk2 and Gtk3 widgetsets.

    The library is linked when a program using the control is built, which needs the libvte-2.91-dev package for Gtk3 or the libvte-dev package for Gtk2. While the control is being designed there is no terminal, and the control paints itself instead as a prompt and a cursor in its colors and font.

    The Codebot.Terminal.Controls unit defines TTerminal, which is a terminal emulator control that runs the shell of the user using the VTE library from the GNOME terminal. The shell starts when the control is first shown. OnReady is invoked once the shell has written its prompt, OnTerminate is invoked when the shell ends, and Restart starts the shell again. TTerminalColors holds the colors of the terminal and its palette.

    While the control is being designed in the IDE there is no running terminal, so the control paints a prompt and a cursor instead.

    Items 79 items

    NameKindLine
    TCustomTerminalclass76
    Createconstructor115
    Destroydestructor116
    DestroyWndprocedure94
    DoReadyprocedure102
    DoTerminateprocedure104
    FontChangedprocedure95
    HasTerminalfunction118
    InitializeWndprocedure93
    Paintprocedure98
    PaintWindowprocedure96
    Restartprocedure120
    WSRegisterClassprocedure92
    Colorsproperty106
    ControlCanvasproperty100
    OnReadyproperty111
    OnTerminateproperty113
    ScrollBarproperty109
    TerminalAvailablefunction176
    TTerminalclass125
    Alignproperty127
    Anchorsproperty128
    BorderSpacingproperty129
    Colorsproperty130
    Constraintsproperty131
    DockSiteproperty132
    DragCursorproperty133
    DragKindproperty134
    DragModeproperty135
    Enabledproperty136
    Fontproperty137
    OnClickproperty146
    OnContextPopupproperty147
    OnDblClickproperty150
    OnDockDropproperty148
    OnDockOverproperty149
    OnDragDropproperty151
    OnDragOverproperty152
    OnEndDockproperty153
    OnEndDragproperty154
    OnEnterproperty155
    OnExitproperty156
    OnGetDockCaptionproperty158
    OnGetSiteInfoproperty157
    OnMouseDownproperty159
    OnMouseEnterproperty160
    OnMouseLeaveproperty161
    OnMouseMoveproperty162
    OnMouseUpproperty163
    OnMouseWheelproperty164
    OnMouseWheelDownproperty165
    OnMouseWheelUpproperty166
    OnReadyproperty167
    OnResizeproperty168
    OnStartDockproperty169
    OnStartDragproperty170
    OnTerminateproperty172
    OnUnDockproperty171
    ParentShowHintproperty138
    PopupMenuproperty139
    ScrollBarproperty140
    ShowHintproperty141
    TabOrderproperty142
    TabStopproperty143
    UseDockManagerproperty144
    Visibleproperty145
    TTerminalColorsclass41
    Assignprocedure56
    Changeprocedure51
    Createconstructor55
    Backgroundproperty61
    Boldproperty62
    Cursorproperty64
    Dimproperty63
    Foregroundproperty60
    Highlightproperty65
    HighlightTextproperty66
    OnChangeproperty58
    Paletteproperty67