Trait gtk::EntryCompletionExt
[−]
[src]
pub trait EntryCompletionExt { fn complete(&self); fn compute_prefix(&self, key: &str) -> Option<String>; fn delete_action(&self, index_: i32); fn get_completion_prefix(&self) -> Option<String>; fn get_entry(&self) -> Option<Widget>; 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_minimum_key_length(&self, length: i32); fn set_model<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
&self,
model: Q
); 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) -> u64; fn connect_cursor_on_match<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
&self,
f: F
) -> u64; fn connect_insert_prefix<F: Fn(&Self, &str) -> Inhibit + 'static>(
&self,
f: F
) -> u64; fn connect_match_selected<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
&self,
f: F
) -> u64; fn connect_no_matches<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
Required Methods
fn complete(&self)
fn compute_prefix(&self, key: &str) -> Option<String>
fn delete_action(&self, index_: i32)
fn get_completion_prefix(&self) -> Option<String>
fn get_entry(&self) -> Option<Widget>
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_minimum_key_length(&self, length: i32)
fn set_model<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
&self,
model: Q
)
&self,
model: Q
)
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) -> u64
fn connect_cursor_on_match<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_insert_prefix<F: Fn(&Self, &str) -> Inhibit + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_match_selected<F: Fn(&Self, &TreeModel, &TreeIter) -> Inhibit + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_no_matches<F: Fn(&Self) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<EntryCompletion> + IsA<Object>> EntryCompletionExt for O