gtk4::prelude

Trait MultiFilterExt

Source
pub trait MultiFilterExt: IsA<MultiFilter> + 'static {
    // Provided methods
    fn append(&self, filter: impl IsA<Filter>) { ... }
    fn remove(&self, position: u32) { ... }
}
Expand description

Trait containing all MultiFilter methods.

§Implementors

AnyFilter, EveryFilter, MultiFilter

Provided Methods§

Source

fn append(&self, filter: impl IsA<Filter>)

Adds a filter.

§filter

a filter to add

Source

fn remove(&self, position: u32)

Removes a filter.

If @position is larger than the number of filters, nothing happens.

§position

position of filter to remove

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§