smithay_client_toolkit::shell::xdg::popup

Trait PopupHandler

Source
pub trait PopupHandler: Sized {
    // Required methods
    fn configure(
        &mut self,
        conn: &Connection,
        qh: &QueueHandle<Self>,
        popup: &Popup,
        config: PopupConfigure,
    );
    fn done(&mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup);
}

Required Methods§

Source

fn configure( &mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup, config: PopupConfigure, )

The popup has been configured.

Source

fn done(&mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup)

The popup was dismissed by the compositor and should be destroyed.

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§