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

Provide a simpler example using egui? #6

Closed
jpggithub opened this issue May 14, 2021 · 2 comments
Closed

Provide a simpler example using egui? #6

jpggithub opened this issue May 14, 2021 · 2 comments

Comments

@jpggithub
Copy link

Hi
I have been trying to use egui for several hours and days and I don't understand how to use egui simply.
I'm not a pro dev but I've already buid UI with python.
I can compile the actual egui_template but can you provide a (the most?) simpler and complete example using egui?
Another option could be a basic tutorial? I didn't found one on the web.
Thanks anyway, the actual egui example is very convincing!

@bjorn
Copy link

bjorn commented May 14, 2021

There are simpler examples for various framework integrations. For example:

As you can see these examples depend a lot on what framework you're using egui with, which might be why they're not included with egui itself.

@emilk
Copy link
Owner

emilk commented May 15, 2021

I've simplified the code in this template a bit, but it is hard to keep it both simple and complete, as I want this template to work both for native and for web.

If you only want to compile for native, than the first link @bjorn posted is as simple as it gets.

@emilk emilk closed this as completed May 15, 2021
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

3 participants