Skip to content

Commit de7fe17

Browse files
committed
Setup instructions for a new project
1 parent 9e2bcb9 commit de7fe17

1 file changed

Lines changed: 44 additions & 2 deletions

File tree

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,51 @@
11
+++
22
title = "Create new egui project"
33
date = 2024-04-08
4-
updated = 2026-04-21
4+
updated = 2026-07-14
55
extra = { series = "Rust" }
66
taxonomies = { tags = ["Rust"] }
77
+++
88

9-
Currently have a PR in flight to solve this <https://github.com/emilk/eframe_template/pull/227>
9+
Currently have a PR in flight to address this <https://github.com/emilk/eframe_template/pull/227>.
10+
In the mean while you may still use it with the instructions in the readme at <https://github.com/c-git/eframe_template/tree/create-cargo-generate-template>
11+
12+
See also the [windowed section](@/rust/create_new_egui_project.md#windowed-framework-application) below for an application with a basic windowing framework.
13+
14+
# TLDR from Readme
15+
16+
## See favorites setup
17+
18+
If you want to check what favorites you have created you can use the following command
19+
20+
```sh
21+
cargo generate --list-favorites
22+
```
23+
24+
## Use a favorite
25+
26+
```sh
27+
cargo generate egui
28+
```
29+
30+
## Use from github repo
31+
32+
```sh
33+
```
34+
35+
# Windowed Framework Application
36+
37+
This basic framework is designed to allow one to easily spin up a new application that supports multiple windows.
38+
The github repo can be found at <https://github.com/c-git/egui_windowed_application_template>.
39+
See readme for more details or use the commands below if you've already done the setup (ie. installed cargo generate).
40+
41+
## Use a favorite
42+
43+
```sh
44+
cargo generate egui_windowed
45+
```
46+
47+
## Use from github repo
48+
49+
```sh
50+
cargo generate c-git/egui_windowed_application_template --branch cargo-gen
51+
```

0 commit comments

Comments
 (0)