Trait sourceview4::prelude::CompletionWordsExt
source · pub trait CompletionWordsExt: IsA<CompletionWords> + Sealed + 'static {
Show 21 methods
// Provided methods
fn register(&self, buffer: &impl IsA<TextBuffer>) { ... }
fn unregister(&self, buffer: &impl IsA<TextBuffer>) { ... }
fn set_activation(&self, activation: CompletionActivation) { ... }
fn set_icon(&self, icon: Option<&Pixbuf>) { ... }
fn set_interactive_delay(&self, interactive_delay: i32) { ... }
fn minimum_word_size(&self) -> u32 { ... }
fn set_minimum_word_size(&self, minimum_word_size: u32) { ... }
fn set_name(&self, name: Option<&str>) { ... }
fn set_priority(&self, priority: i32) { ... }
fn proposals_batch_size(&self) -> u32 { ... }
fn set_proposals_batch_size(&self, proposals_batch_size: u32) { ... }
fn scan_batch_size(&self) -> u32 { ... }
fn set_scan_batch_size(&self, scan_batch_size: u32) { ... }
fn connect_activation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_interactive_delay_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_minimum_word_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_priority_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_proposals_batch_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_scan_batch_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
sourcefn register(&self, buffer: &impl IsA<TextBuffer>)
fn register(&self, buffer: &impl IsA<TextBuffer>)
sourcefn unregister(&self, buffer: &impl IsA<TextBuffer>)
fn unregister(&self, buffer: &impl IsA<TextBuffer>)
sourcefn set_activation(&self, activation: CompletionActivation)
fn set_activation(&self, activation: CompletionActivation)
The type of activation.
fn set_icon(&self, icon: Option<&Pixbuf>)
fn set_interactive_delay(&self, interactive_delay: i32)
fn minimum_word_size(&self) -> u32
fn set_minimum_word_size(&self, minimum_word_size: u32)
fn set_name(&self, name: Option<&str>)
fn set_priority(&self, priority: i32)
fn proposals_batch_size(&self) -> u32
fn set_proposals_batch_size(&self, proposals_batch_size: u32)
fn scan_batch_size(&self) -> u32
fn set_scan_batch_size(&self, scan_batch_size: u32)
fn connect_activation_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_icon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_interactive_delay_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_minimum_word_size_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_name_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_priority_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_proposals_batch_size_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_scan_batch_size_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Object Safety§
This trait is not object safe.