potocpav / python-concur

Concur UI Framework for Python
MIT License
48 stars 2 forks source link

[Suggestion] Write a python c.test_window() / imgui.show_test_window #27

Closed sla-te closed 11 months ago

sla-te commented 3 years ago

This is a TODO on pyimgui's for quite some time now and they don't seem to pay any attention to it anymore but implementing this would be huge. If concur had this, so many devs could easily start working with concur.

https://github.com/swistakm/pyimgui/issues/63

potocpav commented 3 years ago

You mean as a form of documentation? That is indeed a good idea. I will try to whip up a simple (incomplete) test window.

sla-te commented 3 years ago

Especially this one would be very interesting: image

Examples -> Console or Examples -> Log

sla-te commented 3 years ago

Any news?

potocpav commented 3 years ago

I created a stub of the demo app. There is quite a bit of missing functionality in Concur which I'm not event sure we want to add & maintain. On the other side, Concur has a bunch of extra functionality (plotting, image widget, drawing functions). I don't yet know how to approach the demo application - should it mimic ImGui Demo closely, or losely? Should we add warning texts for any missing functionality? Is such an exhaustive example the most useful one? It would probably be >1000 lines of code.

sla-te commented 3 years ago

About this one I really thing, anything is better than nothing because as of now there is literally nothing like this in pyimgui, making it very difficult to start building an application with it, so don't hustle too much, push what you have to the examples folder the more examples we have the greater will be the use from it.

potocpav commented 3 years ago

Added a very basic demo app stub here: https://github.com/potocpav/python-concur/blob/master/examples/demo.py