Trait gtk4::subclass::button::ButtonImpl

source ·
pub trait ButtonImpl: ButtonImplExt + WidgetImpl {
    // Provided methods
    fn activate(&self) { ... }
    fn clicked(&self) { ... }
}

Provided Methods§

source

fn activate(&self)

Signal that causes the button to animate press then release. Applications should never connect to this signal, but use the @clicked signal.

source

fn clicked(&self)

Signal emitted when the button has been activated (pressed and released).

Object Safety§

This trait is not object safe.

Implementors§