pub trait ICoreWebView2ContextMenuItem_Impl: Sized {
Show 13 methods // Required 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 Name(&self, value: *mut PWSTR) -> Result<(), Error>

source

fn Label(&self, value: *mut PWSTR) -> Result<(), Error>

source

fn CommandId(&self, value: *mut i32) -> Result<(), Error>

source

fn ShortcutKeyDescription(&self, value: *mut PWSTR) -> Result<(), Error>

source

fn Icon(&self) -> Result<IStream, Error>

source

fn Kind( &self, value: *mut COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND, ) -> Result<(), Error>

source

fn SetIsEnabled(&self, value: BOOL) -> Result<(), Error>

source

fn IsEnabled(&self, value: *mut BOOL) -> Result<(), Error>

source

fn SetIsChecked(&self, value: BOOL) -> Result<(), Error>

source

fn IsChecked(&self, value: *mut BOOL) -> Result<(), Error>

source

fn Children(&self) -> Result<ICoreWebView2ContextMenuItemCollection, Error>

source

fn add_CustomItemSelected( &self, eventhandler: Option<&ICoreWebView2CustomItemSelectedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_CustomItemSelected( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

Object Safety§

This trait is not object safe.

Implementors§