S or /

SourceClass Hyperlink

from egui import Hyperlink
class Hyperlink:

A clickable hyperlink, e.g. to "https://github.com/emilk/egui".

See also Ui.hyperlink and Ui.hyperlink_to.

Methods§

Source@staticmethod def from_label_and_url(text: Any, url: str) -> Hyperlink§
@staticmethod def from_widget_text_and_url(text: WidgetText, url: str) -> Hyperlink§
Sourcedef open_in_new_tab(self, /, new_tab: bool) -> Hyperlink§

Always open this hyperlink in a new browser tab.

def show(self, /, ui: Ui) -> Response§