Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ContextMenuRequestedEventArgs_Impl
source · [−]pub trait ICoreWebView2ContextMenuRequestedEventArgs_Impl: Sized {
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
source
fn MenuItems(&self) -> Result<ICoreWebView2ContextMenuItemCollection>
source
fn ContextMenuTarget(&self) -> Result<ICoreWebView2ContextMenuTarget>
source
fn SetSelectedCommandId(&self, value: i32) -> Result<()>
source
fn SetHandled(&self, value: BOOL) -> Result<()>
source