Download Now
Forums

    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

    NameKindLine
    ChildCreatefunction43
    ChildDestroyprocedure46
    ChildFocusprocedure52
    ChildFocusedfunction50
    ChildResizeprocedure48
    ChildUnfocusprocedure55