Function dummy_rustwlc::callback::output_created
[−]
[src]
pub fn output_created(callback: extern fn(output: WlcOutput) -> bool)
Callback invoked when an output is created.
Return true
to allow the output to exist.
Example
use rustwlc::WlcOutput; extern fn on_output_created(output: WlcOutput) -> bool { println!("Output {} ({:?}) was created", output.get_name(), output); return true; }