WlCallbackHandler

Trait WlCallbackHandler 

Source
pub trait WlCallbackHandler: Any {
    // Provided methods
    fn delete_id(&mut self, slf: &Rc<WlCallback>) { ... }
    fn handle_done(&mut self, slf: &Rc<WlCallback>, callback_data: u32) { ... }
}
Expand description

A message handler for WlCallback proxies.

Provided Methods§

Source

fn delete_id(&mut self, slf: &Rc<WlCallback>)

Event handler for wl_display.delete_id messages deleting the ID of this object.

The default handler forwards the event to the client, if any.

Source

fn handle_done(&mut self, slf: &Rc<WlCallback>, callback_data: u32)

done event

Notify the client when the related request is done.

§Arguments
  • callback_data: request-specific data for the callback

Implementors§