Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ContextMenuRequestedEventArgs_Impl
source · pub trait ICoreWebView2ContextMenuRequestedEventArgs_Impl: Sized {
// Required methods
fn MenuItems(&self) -> Result<ICoreWebView2ContextMenuItemCollection>;
fn ContextMenuTarget(&self) -> Result<ICoreWebView2ContextMenuTarget>;
fn Location(&self, value: *mut POINT) -> Result<()>;
fn SetSelectedCommandId(&self, value: i32) -> Result<()>;
fn SelectedCommandId(&self, value: *mut i32) -> Result<()>;
fn SetHandled(&self, value: BOOL) -> Result<()>;
fn Handled(&self, value: *mut BOOL) -> Result<()>;
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>;
}
Required Methods§
fn MenuItems(&self) -> Result<ICoreWebView2ContextMenuItemCollection>
fn ContextMenuTarget(&self) -> Result<ICoreWebView2ContextMenuTarget>
fn Location(&self, value: *mut POINT) -> Result<()>
fn SetSelectedCommandId(&self, value: i32) -> Result<()>
fn SelectedCommandId(&self, value: *mut i32) -> Result<()>
fn SetHandled(&self, value: BOOL) -> Result<()>
fn Handled(&self, value: *mut BOOL) -> Result<()>
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
Object Safety§
This trait is not object safe.