Trait LinkButtonExt

Source
pub trait LinkButtonExt: 'static {
    // Required methods
    fn get_uri(&self) -> Option<GString>;
    fn get_visited(&self) -> bool;
    fn set_uri(&self, uri: &str);
    fn set_visited(&self, visited: bool);
    fn connect_activate_link<F: Fn(&Self) -> Inhibit + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_uri_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_visited_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

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

Source

fn get_visited(&self) -> bool

Source

fn set_uri(&self, uri: &str)

Source

fn set_visited(&self, visited: bool)

Source

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

Source

fn connect_property_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§