Trait droom_ui::dialog::dialog::CopyDataCb
[−]
[src]
pub trait CopyDataCb where Self: Element + 'static { fn set_copydata_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, String)> { ... } fn remove_copydata_cb(&mut self) -> Option<Box<Callback<(Self, String)>>> { ... } }
[Windows Only]: Called at the first instance, when a second instance is running.
Must set the global attribute SINGLEINSTANCE to be called.
The String
parameter is the command line of the second instance.
Provided Methods
fn set_copydata_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, String)>
fn remove_copydata_cb(&mut self) -> Option<Box<Callback<(Self, String)>>>
Implementors
impl CopyDataCb for Dialog