Skip to main content

Module link

Module link 

Source
Expand description

Link — a themed hyperlink.

Returns an egui::Response so it composes like any widget. Give it a url to open in the browser on click, or leave it off and handle .clicked() yourself.

ui.add(sc::Link::new("Documentation").url("https://docs.rs"));
if ui.add(sc::Link::new("Run action")).clicked() { /* … */ }

Structs§

Link