Reference Codebot.Render.Controls.Child.pas
Part of the Codebot Render Controls package
The Codebot.Render.Controls.Child unit creates the SDL window of a TGraphicsBox and places it inside the native window of the control, where it fills the control. SDL has no child windows of its own, so the window is first created hidden as a top level window, and the window system then gives it a new parent. That is X11 on Linux, or Windows itself on Windows.
The unit also resizes and destroys the window, and moves the keyboard focus between it and the form. Wayland is not supported.
Items 6 items
| Name | Kind | Line |
|---|---|---|
| ChildCreate | function | 43 |
| ChildDestroy | procedure | 46 |
| ChildFocus | procedure | 52 |
| ChildFocused | function | 50 |
| ChildResize | procedure | 48 |
| ChildUnfocus | procedure | 55 |