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: PopupWindowLocationThe location defines where the pop up is rendered.
component: ComponentRcThe 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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