gtk::prelude

Trait LinkButtonExt

Source
pub trait LinkButtonExt:
    IsA<LinkButton>
    + Sealed
    + 'static {
    // Provided methods
    fn uri(&self) -> Option<GString> { ... }
    fn is_visited(&self) -> bool { ... }
    fn set_uri(&self, uri: &str) { ... }
    fn set_visited(&self, visited: bool) { ... }
    fn connect_activate_link<F: Fn(&Self) -> Propagation + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_uri_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_visited_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn uri(&self) -> Option<GString>

Source

fn is_visited(&self) -> bool

Source

fn set_uri(&self, uri: &str)

Source

fn set_visited(&self, visited: bool)

Source

fn connect_uri_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_visited_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§