GUI component interaction: Difference between revisions
Content deleted Content added
Line 3,487:
fn (mut app App) btn_click_ran(mut btn ui.Button) {
ui.message_box(
app.counter = rand.int_in_range(1, 100) or {0}.str()
}
|
Line 3,487:
fn (mut app App) btn_click_ran(mut btn ui.Button) {
ui.message_box(
app.counter = rand.int_in_range(1, 100) or {0}.str()
}
|