Trait gtk::EntryCompletionExt
source · [−]pub trait EntryCompletionExt: 'static {
Show 38 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 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_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)
sourcefn set_match_func<P: Fn(&EntryCompletion, &str, &TreeIter) -> bool + 'static>(
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_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>
sourcefn connect_action_activated<F: Fn(&Self, i32) + 'static>(
fn connect_action_activated<F: Fn(&Self, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_cursor_on_match<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
fn connect_cursor_on_match<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_insert_prefix<F: Fn(&Self, &str) -> Inhibit + 'static>(
fn connect_insert_prefix<F: Fn(&Self, &str) -> Inhibit + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_match_selected<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
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
sourcefn connect_property_inline_completion_notify<F: Fn(&Self) + 'static>(
fn connect_property_inline_completion_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_inline_selection_notify<F: Fn(&Self) + 'static>(
fn connect_property_inline_selection_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_minimum_key_length_notify<F: Fn(&Self) + 'static>(
fn connect_property_minimum_key_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_model_notify<F: Fn(&Self) + 'static>(
fn connect_property_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_popup_completion_notify<F: Fn(&Self) + 'static>(
fn connect_property_popup_completion_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_popup_set_width_notify<F: Fn(&Self) + 'static>(
fn connect_property_popup_set_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_popup_single_match_notify<F: Fn(&Self) + 'static>(
fn connect_property_popup_single_match_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_text_column_notify<F: Fn(&Self) + 'static>(