[][src]Trait sourceview::CompletionExt

pub trait CompletionExt: 'static {
    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

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

Loading content...

Implementors

impl<O: IsA<Completion>> CompletionExt for O[src]

Loading content...