Trait libhelium::prelude::AvatarExt

source ·
pub trait AvatarExt: IsA<Avatar> + Sealed + 'static {
    // Provided methods
    fn size(&self) -> i32 { ... }
    fn set_size(&self, value: i32) { ... }
    fn text(&self) -> Option<GString> { ... }
    fn set_text(&self, value: Option<&str>) { ... }
    fn is_status(&self) -> bool { ... }
    fn set_status(&self, value: bool) { ... }
    fn image(&self) -> Option<GString> { ... }
    fn set_image(&self, value: Option<&str>) { ... }
    fn connect_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_status_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_image_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Avatar methods.

§Implementors

Avatar

Provided Methods§

source

fn size(&self) -> i32

source

fn set_size(&self, value: i32)

source

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

source

fn set_text(&self, value: Option<&str>)

source

fn is_status(&self) -> bool

source

fn set_status(&self, value: bool)

source

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

source

fn set_image(&self, value: Option<&str>)

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Avatar>> AvatarExt for O