Skip to main content

adopt_presentation

Function adopt_presentation 

pub fn adopt_presentation(
    widget: &mut dyn Widget,
    local: &ApplicationLocalView,
    doc: &AutoCommit,
) -> bool
Expand description

Show local, a live window’s presentation, in the first widget in widget’s tree that keeps one, over the document doc it draws. Returns whether one took it.