Skip to main content

api_docs_button

Function api_docs_button 

Source
pub(crate) fn api_docs_button(ui: &mut Ui) -> bool
Expand description

Draw the API-docs link under the fullscreen button, and report whether it was pressed.

The click becomes egui’s own URL command, which the UI source publishes in the world for the frame loop to serve, rather than opening the page here: a panel runs while the world is borrowed and cannot wait on one.