rodrigocfd
winsafe-examples
Rust

Examples of native Windows applications written in Rust with WinSafe.

Last updated Jul 1, 2026
87
Stars
8
Forks
0
Issues
0
Stars/day
Attention Score
42
Language breakdown
No language data available.
โ–ธ Files click to expand
README

WinSafe examples

This repo contains several examples of native Win32 applications written in Rust with WinSafe. All examples follow the same program structure, which is the recommended way to build a WinSafe application. Each directory is a full application, with is own Cargo.toml.

Resources

Each example has a .res file with its application resources) (manifests, icons, dialogs and so on). You can edit the .res file with any resource editor, or even generate your own .res by compiling a .rc script. The .res file is linked into the final .exe by the build.rs, which is a Cargo build script.

Examples list

Note that the order can change with new examples being added. | Example | Screenshot | | - | - | | 01 Button click | Example 01 | | 02 Native controls | Example 02 | | 03 Dialog resources | Example 03 | | 04 Custom control | Example 04 | | 05 Resizable layout | Example 05 | | 06 Tabs | Example 06 | | 07 Video playback | Example 07 |

License

Licensed under MIT license, see LICENSE.md for details.
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท rodrigocfd/winsafe-examples ยท Updated daily from GitHub