Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An example should show how to change the default title "Debug" #17

Open
harbdog opened this issue Jun 19, 2022 · 0 comments
Open

An example should show how to change the default title "Debug" #17

harbdog opened this issue Jun 19, 2022 · 0 comments

Comments

@harbdog
Copy link

harbdog commented Jun 19, 2022

After crawling through all the examples and source code for this project and the imgui-go project I finally stumbled upon the secret sauce to get the window to have the text "Menu" instead of "Debug". Can you please consider adding this to one of your examples?

g.mgr.BeginFrame()
imgui.Begin("Menu") // changes menu title from default "Debug"
{
    imgui.Text("Hello, world!")
}
imgui.End()
g.mgr.EndFrame()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant