This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Simple example on how to use the nwg template system. | |
*/ | |
#[macro_use] extern crate native_windows_gui as nwg; | |
use nwg::{Event, Ui, simple_message, fatal_message, dispatch_events}; | |
/// Custom enums are the preferred way to define ui ids. It's clearer and more extensible than any other types (such as &'str). | |
#[derive(Debug, Clone, Hash)] |