Struct mg::completion::Completion
[−]
[src]
pub struct Completion { /* fields omitted */ }
Completion to use with a text Entry.
Methods
impl Completion
[src]
fn new() -> Self
[src]
Create a new completion widget.
fn add_completer(&mut self, ident: &'static str, completer: Box<Completer>)
[src]
Add a new completer.
fn adjust_model(&mut self, completer_ident: &str) -> bool
[src]
Adjust the model by using the specified completer.
fn complete_result(&self, selection: &TreeSelection) -> Option<String>
[src]
Complete the result for the selection using the current completer.
fn current_completer(&self) -> Option<&Completer>
[src]
Get the current completer.
fn current_completer_mut(&mut self) -> Option<&mut Box<Completer>>
[src]
Get the current completer.
fn current_completer_ident(&self) -> &str
[src]
Get the current completer ident.
fn filter(&mut self, input: &str) -> Option<ListStore>
[src]
Filter the rows from the input.
fn set_completers(&mut self, completers: Completers)
[src]
Set all the completers.