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 { ... }
}
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
Object Safety§
This trait is not object safe.