pub struct EntryCompletionBuilder { /* private fields */ }
👎Deprecated: Since 4.10
Expand description

A builder-pattern type to construct EntryCompletion objects.

Implementations§

source§

impl EntryCompletionBuilder

source

pub fn cell_area(self, cell_area: &impl IsA<CellArea>) -> Self

👎Deprecated: Since 4.10

The CellArea used to layout cell renderers in the treeview column.

If no area is specified when creating the entry completion with EntryCompletion::with_area(), a horizontally oriented CellAreaBox will be used.

source

pub fn inline_completion(self, inline_completion: bool) -> Self

👎Deprecated: Since 4.10

Determines whether the common prefix of the possible completions should be inserted automatically in the entry.

Note that this requires text-column to be set, even if you are using a custom match function.

source

pub fn inline_selection(self, inline_selection: bool) -> Self

👎Deprecated: Since 4.10

Determines whether the possible completions on the popup will appear in the entry as you navigate through them.

source

pub fn minimum_key_length(self, minimum_key_length: i32) -> Self

👎Deprecated: Since 4.10
source

pub fn model(self, model: &impl IsA<TreeModel>) -> Self

👎Deprecated: Since 4.10
source

pub fn popup_completion(self, popup_completion: bool) -> Self

👎Deprecated: Since 4.10

Determines whether the possible completions should be shown in a popup window.

source

pub fn popup_set_width(self, popup_set_width: bool) -> Self

👎Deprecated: Since 4.10

Determines whether the completions popup window will be resized to the width of the entry.

source

pub fn popup_single_match(self, popup_single_match: bool) -> Self

👎Deprecated: Since 4.10

Determines whether the completions popup window will shown for a single possible completion.

You probably want to set this to false if you are using inline-completion.

source

pub fn text_column(self, text_column: i32) -> Self

👎Deprecated: Since 4.10

The column of the model containing the strings.

Note that the strings must be UTF-8.

source

pub fn build(self) -> EntryCompletion

👎Deprecated: Since 4.10

Build the EntryCompletion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.