pub trait DrawingAreaExt: 'static {
    // Required methods
    fn content_height(&self) -> i32;
    fn content_width(&self) -> i32;
    fn set_content_height(&self, height: i32);
    fn set_content_width(&self, width: i32);
    fn connect_resize<F: Fn(&Self, i32, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_content_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_content_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn content_height(&self) -> i32

source

fn content_width(&self) -> i32

source

fn set_content_height(&self, height: i32)

source

fn set_content_width(&self, width: i32)

source

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

source

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

source

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

Implementors§