[][src]Trait gtk::EntryCompletionExt

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

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

Loading content...

Implementors

impl<O: IsA<EntryCompletion>> EntryCompletionExt for O[src]

Loading content...