Trait relm4::RelmObjectExt

source ·
pub trait RelmObjectExt {
    fn on_destroy<F: FnOnce() + 'static>(&self, func: F);
}
Expand description

Trait that extends gtk::prelude::ObjectExt.

Required Methods§

Runs the given function when the object is destroyed.

Implementors§