Trait gtk4::prelude::DrawingAreaExt

source ·
pub trait DrawingAreaExt: IsA<DrawingArea> + Sealed + 'static {
    // Provided 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 { ... }
}

Provided 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

Object Safety§

This trait is not object safe.

Implementors§