Convert URL into a hyperlink in runtime::window

This commit is contained in:
Héctor Ramón Jiménez 2025-11-25 23:26:55 +01:00
parent 1af8fcd6ac
commit 42d6549ed1
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -180,7 +180,7 @@ pub enum Action {
/// Set whether the system can automatically organize windows into tabs. /// Set whether the system can automatically organize windows into tabs.
/// ///
/// See https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing /// See <https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing>
SetAllowAutomaticTabbing(bool), SetAllowAutomaticTabbing(bool),
/// Redraw all the windows. /// Redraw all the windows.
@ -509,7 +509,7 @@ pub fn monitor_size(id: Id) -> Task<Option<Size>> {
/// Sets whether the system can automatically organize windows into tabs. /// Sets whether the system can automatically organize windows into tabs.
/// ///
/// See https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing /// See <https://developer.apple.com/documentation/appkit/nswindow/1646657-allowsautomaticwindowtabbing>
pub fn allow_automatic_tabbing<T>(enabled: bool) -> Task<T> { pub fn allow_automatic_tabbing<T>(enabled: bool) -> Task<T> {
task::effect(crate::Action::Window(Action::SetAllowAutomaticTabbing( task::effect(crate::Action::Window(Action::SetAllowAutomaticTabbing(
enabled, enabled,