Struct i_slint_core::window::PopupWindow
source · [−]pub struct PopupWindow {
pub location: PopupWindowLocation,
pub component: ComponentRc,
}
Expand description
This structure defines a graphical element that is designed to pop up from the surrounding UI content, for example to show a context menu.
Fields
location: PopupWindowLocation
The location defines where the pop up is rendered.
component: ComponentRc
The component that is responsible for providing the popup content.
Auto Trait Implementations
impl !RefUnwindSafe for PopupWindow
impl !Send for PopupWindow
impl !Sync for PopupWindow
impl Unpin for PopupWindow
impl !UnwindSafe for PopupWindow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more