pub fn complete_result(&self, selection: &TreeSelection) -> Option<String> {
        let mut completion = None;
        if self.current_completer_ident() != NO_COMPLETER_IDENT {
            if let Some((model, iter)) = selection.get_selected() {
                if let Some(completer) = self.current_completer() {
                    let value: Option<String> = model.get_value(&iter, completer.text_column()).get().ok().flatten();
                    if let Some(value) = value {
                        completion = Some(completer.complete_result(&value));
                    }
                }
            }
        }
        completion
    }
/// Complete the result for the selection using the current completer.
Complete the result for the selection using the current completer.
Complete the result for the selection using the current completer .
pub fn complete_result(&self, selection: &TreeSelection) -> Option<String> {
        let mut completion = None;
        if self.current_completer_ident() != NO_COMPLETER_IDENT {
            if let Some((model, iter)) = selection.get_selected() {
                if let Some(completer) = self.current_completer() {
                    let value: Option<String> = model.get_value(&iter, completer.text_column()).get().ok().flatten();
                    if let Some(value) = value {
                        completion = Some(completer.complete_result(&value));
                    }
                }
            }
        }
        completion
    }
pub fn complete_result ( & self , selection : & TreeSelection ) -> Option < String > { let mut completion = None ; if self . current_completer_ident ( ) != NO_COMPLETER_IDENT { if let Some ( ( model , iter ) ) = selection . get_selected ( ) { if let Some ( completer ) = self . current_completer ( ) { let value : Option < String > = model . get_value ( & iter , completer . text_column ( ) ) . get ( ) . ok ( ) . flatten ( ) ; if let Some ( value ) = value { completion = Some ( completer . complete_result ( & value ) ) ; } } } } completion }
Complete the result for the selection using the current completer.
Complete the result for the selection using the current completer .
&self
selection
&TreeSelection