AllenDang / cimgui-go

Auto generated Go wrapper for Dear ImGui via cimgui
MIT License
298 stars 43 forks source link

How do I set window flags? #258

Closed a-alhusaini closed 4 months ago

a-alhusaini commented 4 months ago

Pretty much what it says on the tin.

a-alhusaini commented 4 months ago

It turns out that I'm supposed to pass window flags like this

imgui.BeginV("window", nil, flag1|flag2|flag3)

This is a bitmask. I think it is worth including this in the docs where it is relevant.

To help people who aren't familiar with C.

gucio321 commented 4 months ago

Generally we don't have any documentation yet and I'm not sure if we should. Things like this are 1:1 like in C++ ImGui so people should search for that in upstream documentation.

If you're not familiar with C and Dear ImGui I'd suggest starting with giu which is, inmy opinion, more user-friendly (and should have better documentation)

I hope I answered your question :smile: LMK if you still need help