pub struct ShowContextMenu {
pub entity: Entity,
}Expand description
Emitted by the a11y inbound-action plumbing (and any other route) when assistive technology asks an entity to present a context menu.
- Producer:
handle_a11y_actioninlumen-window-winitfor theAction::ShowContextMenuAccessKit action; pointer-secondary handlers in apps may also emit this directly. - Consumer: app code (typically scripts wired through
on_menu/on_context_menuhandlers) subscribes viaMessageReader. - Mirrors
gtk_widget_showof aGtkPopoverMenuandQAbstractItemView::customContextMenuRequestedsemantics.
Fields§
§entity: EntityEntity the menu should attach to.
Trait Implementations§
Source§impl Clone for ShowContextMenu
impl Clone for ShowContextMenu
Source§fn clone(&self) -> ShowContextMenu
fn clone(&self) -> ShowContextMenu
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShowContextMenu
impl Debug for ShowContextMenu
impl Copy for ShowContextMenu
impl Message for ShowContextMenu
Auto Trait Implementations§
impl Freeze for ShowContextMenu
impl RefUnwindSafe for ShowContextMenu
impl Send for ShowContextMenu
impl Sync for ShowContextMenu
impl Unpin for ShowContextMenu
impl UnsafeUnpin for ShowContextMenu
impl UnwindSafe for ShowContextMenu
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.