pub fn try_create_screen_layout(view: &ViewId) -> Option<ScreenLayout>Expand description
Create a ScreenLayout for a view. This can fail if the view or an
ancestor of it has no parent and is not realized on-screen, or if the
platform does not support reading window inner or outer bounds. ScreenLayout
is useful when needing to convert locations within a view into absolute
positions on-screen, such as for creating a window at position relative
to that view.