gtk4::subclass::toggle_button

Trait ToggleButtonImpl

Source
pub trait ToggleButtonImpl: ButtonImpl + ObjectSubclass<Type: IsA<ToggleButton> + IsA<Actionable>> {
    // Provided method
    fn toggled(&self) { ... }
}

Provided Methods§

Source

fn toggled(&self)

Emits the ::toggled signal on the ToggleButton.

§Deprecated since 4.10

There is no good reason for an application ever to call this function.

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§