Trait gtk4::prelude::DrawingAreaExt
source · [−]pub trait DrawingAreaExt: 'static {
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;
}