Comments (4)
Oh, I see.
This won't work. imgui
package is not able to render anything on it's own. This is why you need to either use built-in integrations or create own rendering code. Everything is explained in the documentation page titled First steps with imgui. Links to the examples can be found on the bottom of that page. They lead directly to doc/examples project source tree on GitHub.
Read it carefully and you should be able to make your own GUI in a few minutes.
I understand that current documentation may not be clear enough on this topic. Of course, any suggestions on improvements in this area would be very welcome.
from pyimgui.
Hi @EMGPY, could you share a snippet of your code? The issue tittle says it happens at basic rendering loop so I guess it is short and you can paste whole your code.
Have you tried using any any of the built-in integrations from imgui.integrations
subpackage? It seems that you don't use any these.
The error information says that internal ImGui state object isn't properly initialized yet. In such case you need to do proper initialization all by yourself. Unfortunately I didn't have enough time to document how to deal with that yet. The integration modules in imgui.integrations
and examples under doc/examples
may serve as a basis for making your own integrations.
from pyimgui.
import imgui
imgui.new_frame()
imgui.begin("Mi primera ventana", True)
imgui.text("Hola Mundo")
imgui.end()
imgui.render()
This is the example code i tried to run.
About imgui.integrations i didn't used any, because don't want to used, just want to use imgui to create some basics gui apps.
Where i can find the doc/examples because in the imgui folder is missing.
from pyimgui.
Thanks to make it clear.
from pyimgui.
Related Issues (20)
- Set unique/multiple imgui name, context
- -- deleted --
- Doesn't expose ImGuiStyle::ScaleAllSizes HOT 1
- Showing input text without a label HOT 1
- Documentation left side nav not scrollable
- Can't use it and i don't know why.
- "Game Insert"
- type stubs for pyimgui HOT 4
- None of the custom renderers change mouse cursor HOT 4
- default theme font HOT 4
- Loading SVGs as viewport/texture HOT 2
- [Bug}: When using pyimgui some users of my program have `GLError`s HOT 8
- Imgui port to pygame do not suport colaboration with programable opengl pipline
- Windows: Failed building wheel for imgui (from VsDevShell) HOT 5
- Example not working HOT 1
- pyimgui equivalent of ImGuiKey_NamedKey_END HOT 1
- Overflow error when using opengl, doublebuf and fullscreen HOT 1
- ImGui crashing when using OpenGL context 3.2+ even though GPU and driver support 4.6
- Upgrading dear imgui version beyond 1.82 HOT 6
- Anyone studied if F3D is able to render on pyimgui HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyimgui.