Trait zng_ext_window::NestedWindowWidgetInfoExt

source ·
pub trait NestedWindowWidgetInfoExt {
    // Required method
    fn nested_window(&self) -> Option<WindowId>;

    // Provided method
    fn nested_window_tree(&self) -> Option<WidgetInfoTree> { ... }
}
Expand description

Extension methods for widget info about a node that hosts a nested window.

Required Methods§

source

fn nested_window(&self) -> Option<WindowId>

Gets the hosted window ID if the widget hosts a nested window.

Provided Methods§

source

fn nested_window_tree(&self) -> Option<WidgetInfoTree>

Gets the hosted window info tree if the widget hosts a nested window that is open.

Implementations on Foreign Types§

source§

impl NestedWindowWidgetInfoExt for WidgetInfo

Implementors§