Trait gtk4::subclass::dialog::DialogImpl

source ·
pub trait DialogImpl: DialogImplExt + WindowImpl {
    // Provided methods
    fn response(&self, response: ResponseType) { ... }
    fn close(&self) { ... }
}

Provided Methods§

source

fn response(&self, response: ResponseType)

Emits the ::response signal with the given response ID.

Used to indicate that the user has responded to the dialog in some way.

§Deprecated since 4.10

Use Window instead

§response_id

response ID

source

fn close(&self)

Signal emitted when the user uses a keybinding to close the dialog.

Object Safety§

This trait is not object safe.

Implementors§