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

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§