Trait EntryCompletionExt

Source
pub trait EntryCompletionExt: 'static {
Show 38 methods // Required methods fn complete(&self); fn compute_prefix(&self, key: &str) -> Option<GString>; fn delete_action(&self, index_: i32); fn get_completion_prefix(&self) -> Option<GString>; fn get_inline_completion(&self) -> bool; fn get_inline_selection(&self) -> bool; fn get_minimum_key_length(&self) -> i32; fn get_model(&self) -> Option<TreeModel>; fn get_popup_completion(&self) -> bool; fn get_popup_set_width(&self) -> bool; fn get_popup_single_match(&self) -> bool; fn get_text_column(&self) -> i32; fn insert_action_markup(&self, index_: i32, markup: &str); fn insert_action_text(&self, index_: i32, text: &str); fn insert_prefix(&self); fn set_inline_completion(&self, inline_completion: bool); fn set_inline_selection(&self, inline_selection: bool); fn set_match_func<P: Fn(&EntryCompletion, &str, &TreeIter) -> bool + 'static>( &self, func: P, ); fn set_minimum_key_length(&self, length: i32); fn set_model<P: IsA<TreeModel>>(&self, model: Option<&P>); fn set_popup_completion(&self, popup_completion: bool); fn set_popup_set_width(&self, popup_set_width: bool); fn set_popup_single_match(&self, popup_single_match: bool); fn set_text_column(&self, column: i32); fn get_property_cell_area(&self) -> Option<CellArea>; fn connect_action_activated<F: Fn(&Self, i32) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_cursor_on_match<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_insert_prefix<F: Fn(&Self, &str) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_match_selected<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_no_matches<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_inline_completion_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_inline_selection_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_minimum_key_length_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_model_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_popup_completion_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_popup_set_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_popup_single_match_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_text_column_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn complete(&self)

Source

fn compute_prefix(&self, key: &str) -> Option<GString>

Source

fn delete_action(&self, index_: i32)

Source

fn get_completion_prefix(&self) -> Option<GString>

Source

fn get_inline_completion(&self) -> bool

Source

fn get_inline_selection(&self) -> bool

Source

fn get_minimum_key_length(&self) -> i32

Source

fn get_model(&self) -> Option<TreeModel>

Source

fn get_popup_completion(&self) -> bool

Source

fn get_popup_set_width(&self) -> bool

Source

fn get_popup_single_match(&self) -> bool

Source

fn get_text_column(&self) -> i32

Source

fn insert_action_markup(&self, index_: i32, markup: &str)

Source

fn insert_action_text(&self, index_: i32, text: &str)

Source

fn insert_prefix(&self)

Source

fn set_inline_completion(&self, inline_completion: bool)

Source

fn set_inline_selection(&self, inline_selection: bool)

Source

fn set_match_func<P: Fn(&EntryCompletion, &str, &TreeIter) -> bool + 'static>( &self, func: P, )

Source

fn set_minimum_key_length(&self, length: i32)

Source

fn set_model<P: IsA<TreeModel>>(&self, model: Option<&P>)

Source

fn set_popup_completion(&self, popup_completion: bool)

Source

fn set_popup_set_width(&self, popup_set_width: bool)

Source

fn set_popup_single_match(&self, popup_single_match: bool)

Source

fn set_text_column(&self, column: i32)

Source

fn get_property_cell_area(&self) -> Option<CellArea>

Source

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

Source

fn connect_cursor_on_match<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

fn connect_match_selected<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_property_text_column_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§