wookay/Poptart.jl

Textboxes?

Closed this issue · 7 comments

This library doesn't seem to provide text boxes. ImGui provides them in theory. Could they be added?

it doesn't work now. it needs to some rework based on CImGui examples.

@freemin7 Poptart v0.3.0 has been added InputText. thanks for waiting.

Thank you, is there an example where the text from the box is used?

I was aware of that example, but that doesn't tell me how to get the text from the text field.

input1 = InputText(label="Subject", buf="")
println(input1.buf)

see also api https://wookay.github.io/docs/Poptart.jl/Desktop/#Poptart.Desktop.InputText

Thanks