Skip to content

Examples of native Windows applications written in Rust with WinSafe.

License

Notifications You must be signed in to change notification settings

rosscanning/winsafe-examples

 
 

Repository files navigation

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.

About

Examples of native Windows applications written in Rust with WinSafe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 98.2%
  • Shell 1.8%