Skip to content

Latest commit

 

History

History

01_button_click

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

01 Button click

This is a very basic example showing a window with one button.

The window is created programatically, and so is the button control. The button click event is handled with a closure, where the title of the window changes.

Example 01

To compile and run:

cargo run

To generate the final executable:

cargo build --release