Skip to main content

ContentBlockImageExt

Trait ContentBlockImageExt 

Source
pub trait ContentBlockImageExt: IsA<ContentBlockImage> + 'static {
    // Provided methods
    fn file(&self) -> GString { ... }
    fn set_file(&self, value: &str) { ... }
    fn requested_height(&self) -> i32 { ... }
    fn set_requested_height(&self, value: i32) { ... }
    fn requested_width(&self) -> i32 { ... }
    fn set_requested_width(&self, value: i32) { ... }
    fn connect_file_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_requested_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_requested_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn file(&self) -> GString

Source

fn set_file(&self, value: &str)

Source

fn requested_height(&self) -> i32

Source

fn set_requested_height(&self, value: i32)

Source

fn requested_width(&self) -> i32

Source

fn set_requested_width(&self, value: i32)

Source

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

Source

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

Source

fn connect_requested_width_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".

Implementors§