pub struct EntryCompletion(/* private fields */);
Implementations§
Source§impl EntryCompletion
impl EntryCompletion
pub fn new() -> EntryCompletion
pub fn new_with_area<P: IsA<CellArea>>(area: &P) -> EntryCompletion
Trait Implementations§
Source§impl Clone for EntryCompletion
impl Clone for EntryCompletion
Source§fn clone(&self) -> EntryCompletion
fn clone(&self) -> EntryCompletion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EntryCompletion
impl Debug for EntryCompletion
Source§impl Default for EntryCompletion
impl Default for EntryCompletion
Source§impl Display for EntryCompletion
impl Display for EntryCompletion
Source§impl Hash for EntryCompletion
impl Hash for EntryCompletion
Source§impl Ord for EntryCompletion
impl Ord for EntryCompletion
Source§fn cmp(&self, other: &EntryCompletion) -> Ordering
fn cmp(&self, other: &EntryCompletion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: ObjectType> PartialEq<T> for EntryCompletion
impl<T: ObjectType> PartialEq<T> for EntryCompletion
Source§impl<T: ObjectType> PartialOrd<T> for EntryCompletion
impl<T: ObjectType> PartialOrd<T> for EntryCompletion
Source§impl StaticType for EntryCompletion
impl StaticType for EntryCompletion
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for EntryCompletion
impl IsA<Buildable> for EntryCompletion
impl IsA<CellLayout> for EntryCompletion
Auto Trait Implementations§
impl Freeze for EntryCompletion
impl RefUnwindSafe for EntryCompletion
impl !Send for EntryCompletion
impl !Sync for EntryCompletion
impl Unpin for EntryCompletion
impl UnwindSafe for EntryCompletion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<O> BuildableExt for O
impl<O> BuildableExt for O
fn add_child<P, Q>(&self, builder: &P, child: &Q, type_: Option<&str>)
fn construct_child<P>(&self, builder: &P, name: &str) -> Option<Object>
fn get_internal_child<P>(&self, builder: &P, childname: &str) -> Option<Object>
fn parser_finished<P>(&self, builder: &P)
fn set_buildable_property<P>(&self, builder: &P, name: &str, value: &Value)
Source§impl<O> BuildableExtManual for O
impl<O> BuildableExtManual for O
Source§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
Source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
Upcasts an object to a superclass or interface
T
. Read moreSource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
Upcasts an object to a reference of its superclass or interface
T
. Read moreSource§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
Tries to downcast to a subclass or interface implementor
T
. Read moreSource§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
Tries to downcast to a reference of its subclass or interface implementor
T
. Read moreSource§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
Tries to cast to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moreSource§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Tries to cast to reference to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moreSource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
Casts to
T
unconditionally. Read moreSource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
Casts to
&T
unconditionally. Read moreSource§impl<O> CellLayoutExt for Owhere
O: IsA<CellLayout>,
impl<O> CellLayoutExt for Owhere
O: IsA<CellLayout>,
fn add_attribute<P>(&self, cell: &P, attribute: &str, column: i32)where
P: IsA<CellRenderer>,
fn clear(&self)
fn clear_attributes<P>(&self, cell: &P)where
P: IsA<CellRenderer>,
fn get_area(&self) -> Option<CellArea>
fn get_cells(&self) -> Vec<CellRenderer>
fn pack_end<P>(&self, cell: &P, expand: bool)where
P: IsA<CellRenderer>,
fn pack_start<P>(&self, cell: &P, expand: bool)where
P: IsA<CellRenderer>,
fn reorder<P>(&self, cell: &P, position: i32)where
P: IsA<CellRenderer>,
fn set_cell_data_func<P>(
&self,
cell: &P,
func: Option<Box<dyn Fn(&CellLayout, &CellRenderer, &TreeModel, &TreeIter)>>,
)where
P: IsA<CellRenderer>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<O> EntryCompletionExt for Owhere
O: IsA<EntryCompletion>,
impl<O> EntryCompletionExt for Owhere
O: IsA<EntryCompletion>,
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>(&self, func: P)
fn set_minimum_key_length(&self, length: i32)
fn set_model<P>(&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>(&self, f: F) -> SignalHandlerId
fn connect_cursor_on_match<F>(&self, f: F) -> SignalHandlerId
fn connect_insert_prefix<F>(&self, f: F) -> SignalHandlerId
fn connect_match_selected<F>(&self, f: F) -> SignalHandlerId
fn connect_no_matches<F>(&self, f: F) -> SignalHandlerId
fn connect_property_inline_completion_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_inline_selection_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_minimum_key_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_model_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_popup_completion_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_popup_set_width_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_popup_single_match_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_text_column_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> EntryCompletionExtManual for Owhere
O: IsA<EntryCompletion>,
impl<O> EntryCompletionExtManual for Owhere
O: IsA<EntryCompletion>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
Source§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere
U: StaticType,
Returns
true
if the object is an instance of (can be cast to) T
.