pub trait ICoreWebView2ContextMenuItem_Impl {
Show 13 methods
fn Name(&self, value: *mut PWSTR) -> Result<(), Error>;
fn Label(&self, value: *mut PWSTR) -> Result<(), Error>;
fn CommandId(&self, value: *mut i32) -> Result<(), Error>;
fn ShortcutKeyDescription(&self, value: *mut PWSTR) -> Result<(), Error>;
fn Icon(&self) -> Result<IStream, Error>;
fn Kind(
&self,
value: *mut COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND
) -> Result<(), Error>;
fn SetIsEnabled(&self, value: BOOL) -> Result<(), Error>;
fn IsEnabled(&self, value: *mut BOOL) -> Result<(), Error>;
fn SetIsChecked(&self, value: BOOL) -> Result<(), Error>;
fn IsChecked(&self, value: *mut BOOL) -> Result<(), Error>;
fn Children(&self) -> Result<ICoreWebView2ContextMenuItemCollection, Error>;
fn add_CustomItemSelected(
&self,
eventhandler: &Option<ICoreWebView2CustomItemSelectedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_CustomItemSelected(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
}
Required Methods
source
fn Children(&self) -> Result<ICoreWebView2ContextMenuItemCollection, Error>
sourcefn add_CustomItemSelected(
fn add_CustomItemSelected(
&self,
eventhandler: &Option<ICoreWebView2CustomItemSelectedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_CustomItemSelected(