Trait CompletionExt

Source
pub trait CompletionExt: 'static {
Show 46 methods // Required methods fn add_provider<P: IsA<CompletionProvider>>( &self, provider: &P, ) -> Result<(), Error>; fn block_interactive(&self); fn get_info_window(&self) -> Option<CompletionInfo>; fn get_providers(&self) -> Vec<CompletionProvider>; fn get_view(&self) -> Option<View>; fn hide(&self); fn move_window(&self, iter: &mut TextIter); fn remove_provider<P: IsA<CompletionProvider>>( &self, provider: &P, ) -> Result<(), Error>; fn show<P: IsA<CompletionContext>>( &self, providers: &[CompletionProvider], context: &P, ) -> bool; fn unblock_interactive(&self); fn get_property_accelerators(&self) -> u32; fn set_property_accelerators(&self, accelerators: u32); fn get_property_auto_complete_delay(&self) -> u32; fn set_property_auto_complete_delay(&self, auto_complete_delay: u32); fn get_property_proposal_page_size(&self) -> u32; fn set_property_proposal_page_size(&self, proposal_page_size: u32); fn get_property_provider_page_size(&self) -> u32; fn set_property_provider_page_size(&self, provider_page_size: u32); fn get_property_remember_info_visibility(&self) -> bool; fn set_property_remember_info_visibility( &self, remember_info_visibility: bool, ); fn get_property_select_on_show(&self) -> bool; fn set_property_select_on_show(&self, select_on_show: bool); fn get_property_show_headers(&self) -> bool; fn set_property_show_headers(&self, show_headers: bool); fn get_property_show_icons(&self) -> bool; fn set_property_show_icons(&self, show_icons: bool); fn connect_activate_proposal<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn emit_activate_proposal(&self); fn connect_hide<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn emit_hide(&self); fn connect_move_cursor<F: Fn(&Self, ScrollStep, i32) + 'static>( &self, f: F, ) -> SignalHandlerId; fn emit_move_cursor(&self, step: ScrollStep, num: i32); fn connect_move_page<F: Fn(&Self, ScrollStep, i32) + 'static>( &self, f: F, ) -> SignalHandlerId; fn emit_move_page(&self, step: ScrollStep, num: i32); fn connect_populate_context<F: Fn(&Self, &CompletionContext) + 'static>( &self, f: F, ) -> SignalHandlerId; fn emit_populate_context(&self, context: &CompletionContext); fn connect_show<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn emit_show(&self); fn connect_property_accelerators_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_auto_complete_delay_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_proposal_page_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_provider_page_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_remember_info_visibility_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_select_on_show_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_headers_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_icons_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn add_provider<P: IsA<CompletionProvider>>( &self, provider: &P, ) -> Result<(), Error>

Source

fn block_interactive(&self)

Source

fn get_info_window(&self) -> Option<CompletionInfo>

Source

fn get_providers(&self) -> Vec<CompletionProvider>

Source

fn get_view(&self) -> Option<View>

Source

fn hide(&self)

Source

fn move_window(&self, iter: &mut TextIter)

Source

fn remove_provider<P: IsA<CompletionProvider>>( &self, provider: &P, ) -> Result<(), Error>

Source

fn show<P: IsA<CompletionContext>>( &self, providers: &[CompletionProvider], context: &P, ) -> bool

Source

fn unblock_interactive(&self)

Source

fn get_property_accelerators(&self) -> u32

Source

fn set_property_accelerators(&self, accelerators: u32)

Source

fn get_property_auto_complete_delay(&self) -> u32

Source

fn set_property_auto_complete_delay(&self, auto_complete_delay: u32)

Source

fn get_property_proposal_page_size(&self) -> u32

Source

fn set_property_proposal_page_size(&self, proposal_page_size: u32)

Source

fn get_property_provider_page_size(&self) -> u32

Source

fn set_property_provider_page_size(&self, provider_page_size: u32)

Source

fn get_property_remember_info_visibility(&self) -> bool

Source

fn set_property_remember_info_visibility(&self, remember_info_visibility: bool)

Source

fn get_property_select_on_show(&self) -> bool

Source

fn set_property_select_on_show(&self, select_on_show: bool)

Source

fn get_property_show_headers(&self) -> bool

Source

fn set_property_show_headers(&self, show_headers: bool)

Source

fn get_property_show_icons(&self) -> bool

Source

fn set_property_show_icons(&self, show_icons: bool)

Source

fn connect_activate_proposal<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn emit_activate_proposal(&self)

Source

fn connect_hide<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn emit_hide(&self)

Source

fn connect_move_cursor<F: Fn(&Self, ScrollStep, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn emit_move_cursor(&self, step: ScrollStep, num: i32)

Source

fn connect_move_page<F: Fn(&Self, ScrollStep, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn emit_move_page(&self, step: ScrollStep, num: i32)

Source

fn connect_populate_context<F: Fn(&Self, &CompletionContext) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn emit_populate_context(&self, context: &CompletionContext)

Source

fn connect_show<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn emit_show(&self)

Source

fn connect_property_accelerators_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_auto_complete_delay_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_proposal_page_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_provider_page_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_remember_info_visibility_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_select_on_show_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_show_headers_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_show_icons_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§