pub struct Entry(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Ord for Entry
impl Ord for Entry
Source§impl<T: ObjectType> PartialEq<T> for Entry
impl<T: ObjectType> PartialEq<T> for Entry
Source§impl<T: ObjectType> PartialOrd<T> for Entry
impl<T: ObjectType> PartialOrd<T> for Entry
Source§impl StaticType for Entry
impl StaticType for Entry
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for Entry
impl IsA<Buildable> for Entry
impl IsA<CellEditable> for Entry
impl IsA<Editable> for Entry
impl IsA<Entry> for SearchEntry
impl IsA<Entry> for SpinButton
impl IsA<Widget> for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl !Send for Entry
impl !Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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> CellEditableExt for Owhere
O: IsA<CellEditable>,
impl<O> CellEditableExt for Owhere
O: IsA<CellEditable>,
fn editing_done(&self)
fn remove_widget(&self)
fn start_editing(&self, event: Option<&Event>)
fn get_property_editing_canceled(&self) -> bool
fn set_property_editing_canceled(&self, editing_canceled: bool)
fn connect_editing_done<F>(&self, f: F) -> SignalHandlerId
fn connect_remove_widget<F>(&self, f: F) -> SignalHandlerId
fn connect_property_editing_canceled_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<O> EditableExt for O
impl<O> EditableExt for O
fn copy_clipboard(&self)
fn cut_clipboard(&self)
fn delete_selection(&self)
fn delete_text(&self, start_pos: i32, end_pos: i32)
fn get_chars(&self, start_pos: i32, end_pos: i32) -> Option<GString>
fn get_editable(&self) -> bool
fn get_position(&self) -> i32
fn get_selection_bounds(&self) -> Option<(i32, i32)>
fn insert_text(&self, new_text: &str, position: &mut i32)
fn paste_clipboard(&self)
fn select_region(&self, start_pos: i32, end_pos: i32)
fn set_editable(&self, is_editable: bool)
fn set_position(&self, position: i32)
Source§impl<T> EditableSignals for T
impl<T> EditableSignals for T
fn connect_changed<F>(&self, changed_func: F) -> SignalHandlerId
fn connect_delete_text<F>(&self, delete_text_func: F) -> SignalHandlerId
fn connect_insert_text<F>(&self, insert_text_func: F) -> SignalHandlerId
Source§impl<O> EntryExt for O
impl<O> EntryExt for O
fn get_activates_default(&self) -> bool
fn get_alignment(&self) -> f32
fn get_attributes(&self) -> Option<AttrList>
fn get_buffer(&self) -> EntryBuffer
fn get_completion(&self) -> Option<EntryCompletion>
fn get_current_icon_drag_source(&self) -> i32
fn get_cursor_hadjustment(&self) -> Option<Adjustment>
fn get_has_frame(&self) -> bool
fn get_icon_activatable(&self, icon_pos: EntryIconPosition) -> bool
fn get_icon_area(&self, icon_pos: EntryIconPosition) -> Rectangle
fn get_icon_at_pos(&self, x: i32, y: i32) -> i32
fn get_icon_gicon(&self, icon_pos: EntryIconPosition) -> Option<Icon>
fn get_icon_name(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn get_icon_pixbuf(&self, icon_pos: EntryIconPosition) -> Option<Pixbuf>
fn get_icon_sensitive(&self, icon_pos: EntryIconPosition) -> bool
fn get_icon_storage_type(&self, icon_pos: EntryIconPosition) -> ImageType
fn get_icon_tooltip_markup( &self, icon_pos: EntryIconPosition, ) -> Option<GString>
fn get_icon_tooltip_text(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn get_input_hints(&self) -> InputHints
fn get_input_purpose(&self) -> InputPurpose
fn get_invisible_char(&self) -> Option<char>
fn get_layout(&self) -> Option<Layout>
fn get_layout_offsets(&self) -> (i32, i32)
fn get_max_length(&self) -> i32
fn get_max_width_chars(&self) -> i32
fn get_overwrite_mode(&self) -> bool
fn get_placeholder_text(&self) -> Option<GString>
fn get_progress_fraction(&self) -> f64
fn get_progress_pulse_step(&self) -> f64
fn get_tabs(&self) -> Option<TabArray>
fn get_text(&self) -> Option<GString>
fn get_text_area(&self) -> Rectangle
fn get_text_length(&self) -> u16
fn get_visibility(&self) -> bool
fn get_width_chars(&self) -> i32
fn grab_focus_without_selecting(&self)
fn im_context_filter_keypress(&self, event: &EventKey) -> bool
fn layout_index_to_text_index(&self, layout_index: i32) -> i32
fn progress_pulse(&self)
fn reset_im_context(&self)
fn set_activates_default(&self, setting: bool)
fn set_alignment(&self, xalign: f32)
fn set_attributes(&self, attrs: &AttrList)
fn set_buffer<P>(&self, buffer: &P)where
P: IsA<EntryBuffer>,
fn set_completion<P>(&self, completion: Option<&P>)where
P: IsA<EntryCompletion>,
fn set_cursor_hadjustment<P>(&self, adjustment: Option<&P>)where
P: IsA<Adjustment>,
fn set_has_frame(&self, setting: bool)
fn set_icon_activatable(&self, icon_pos: EntryIconPosition, activatable: bool)
fn set_icon_drag_source( &self, icon_pos: EntryIconPosition, target_list: &TargetList, actions: DragAction, )
fn set_icon_from_gicon<P>(&self, icon_pos: EntryIconPosition, icon: Option<&P>)
fn set_icon_from_icon_name( &self, icon_pos: EntryIconPosition, icon_name: Option<&str>, )
fn set_icon_from_pixbuf( &self, icon_pos: EntryIconPosition, pixbuf: Option<&Pixbuf>, )
fn set_icon_sensitive(&self, icon_pos: EntryIconPosition, sensitive: bool)
fn set_icon_tooltip_markup( &self, icon_pos: EntryIconPosition, tooltip: Option<&str>, )
fn set_icon_tooltip_text( &self, icon_pos: EntryIconPosition, tooltip: Option<&str>, )
fn set_input_hints(&self, hints: InputHints)
fn set_input_purpose(&self, purpose: InputPurpose)
fn set_invisible_char(&self, ch: Option<char>)
fn set_max_length(&self, max: i32)
fn set_max_width_chars(&self, n_chars: i32)
fn set_overwrite_mode(&self, overwrite: bool)
fn set_placeholder_text(&self, text: Option<&str>)
fn set_progress_fraction(&self, fraction: f64)
fn set_progress_pulse_step(&self, fraction: f64)
fn set_tabs(&self, tabs: &TabArray)
fn set_text(&self, text: &str)
fn set_visibility(&self, visible: bool)
fn set_width_chars(&self, n_chars: i32)
fn text_index_to_layout_index(&self, text_index: i32) -> i32
fn unset_invisible_char(&self)
fn get_property_caps_lock_warning(&self) -> bool
fn set_property_caps_lock_warning(&self, caps_lock_warning: bool)
fn get_property_cursor_position(&self) -> i32
fn get_property_enable_emoji_completion(&self) -> bool
fn set_property_enable_emoji_completion(&self, enable_emoji_completion: bool)
fn get_property_im_module(&self) -> Option<GString>
fn set_property_im_module(&self, im_module: Option<&str>)
fn get_property_invisible_char_set(&self) -> bool
fn set_property_invisible_char_set(&self, invisible_char_set: bool)
fn get_property_populate_all(&self) -> bool
fn set_property_populate_all(&self, populate_all: bool)
fn get_property_primary_icon_activatable(&self) -> bool
fn set_property_primary_icon_activatable(&self, primary_icon_activatable: bool)
fn get_property_primary_icon_gicon(&self) -> Option<Icon>
fn set_property_primary_icon_gicon(&self, primary_icon_gicon: Option<&Icon>)
fn get_property_primary_icon_name(&self) -> Option<GString>
fn set_property_primary_icon_name(&self, primary_icon_name: Option<&str>)
fn get_property_primary_icon_pixbuf(&self) -> Option<Pixbuf>
fn set_property_primary_icon_pixbuf(&self, primary_icon_pixbuf: Option<&Pixbuf>)
fn get_property_primary_icon_sensitive(&self) -> bool
fn set_property_primary_icon_sensitive(&self, primary_icon_sensitive: bool)
fn get_property_primary_icon_storage_type(&self) -> ImageType
fn get_property_primary_icon_tooltip_markup(&self) -> Option<GString>
fn set_property_primary_icon_tooltip_markup( &self, primary_icon_tooltip_markup: Option<&str>, )
fn get_property_primary_icon_tooltip_text(&self) -> Option<GString>
fn set_property_primary_icon_tooltip_text( &self, primary_icon_tooltip_text: Option<&str>, )
fn get_property_scroll_offset(&self) -> i32
fn get_property_secondary_icon_activatable(&self) -> bool
fn set_property_secondary_icon_activatable( &self, secondary_icon_activatable: bool, )
fn get_property_secondary_icon_gicon(&self) -> Option<Icon>
fn set_property_secondary_icon_gicon(&self, secondary_icon_gicon: Option<&Icon>)
fn get_property_secondary_icon_name(&self) -> Option<GString>
fn set_property_secondary_icon_name(&self, secondary_icon_name: Option<&str>)
fn get_property_secondary_icon_pixbuf(&self) -> Option<Pixbuf>
fn set_property_secondary_icon_pixbuf( &self, secondary_icon_pixbuf: Option<&Pixbuf>, )
fn get_property_secondary_icon_sensitive(&self) -> bool
fn set_property_secondary_icon_sensitive(&self, secondary_icon_sensitive: bool)
fn get_property_secondary_icon_storage_type(&self) -> ImageType
fn get_property_secondary_icon_tooltip_markup(&self) -> Option<GString>
fn set_property_secondary_icon_tooltip_markup( &self, secondary_icon_tooltip_markup: Option<&str>, )
fn get_property_secondary_icon_tooltip_text(&self) -> Option<GString>
fn set_property_secondary_icon_tooltip_text( &self, secondary_icon_tooltip_text: Option<&str>, )
fn get_property_selection_bound(&self) -> i32
Source§fn get_property_shadow_type(&self) -> ShadowType
fn get_property_shadow_type(&self) -> ShadowType
👎Deprecated
Source§fn set_property_shadow_type(&self, shadow_type: ShadowType)
fn set_property_shadow_type(&self, shadow_type: ShadowType)
👎Deprecated
fn get_property_show_emoji_icon(&self) -> bool
fn set_property_show_emoji_icon(&self, show_emoji_icon: bool)
fn get_property_truncate_multiline(&self) -> bool
fn set_property_truncate_multiline(&self, truncate_multiline: bool)
fn get_property_xalign(&self) -> f32
fn set_property_xalign(&self, xalign: f32)
fn connect_activate<F>(&self, f: F) -> SignalHandlerId
fn emit_activate(&self)
fn connect_backspace<F>(&self, f: F) -> SignalHandlerId
fn emit_backspace(&self)
fn connect_copy_clipboard<F>(&self, f: F) -> SignalHandlerId
fn emit_copy_clipboard(&self)
fn connect_cut_clipboard<F>(&self, f: F) -> SignalHandlerId
fn emit_cut_clipboard(&self)
fn connect_delete_from_cursor<F>(&self, f: F) -> SignalHandlerId
fn emit_delete_from_cursor(&self, type_: DeleteType, count: i32)
fn connect_icon_press<F>(&self, f: F) -> SignalHandlerId
fn connect_icon_release<F>(&self, f: F) -> SignalHandlerId
fn connect_insert_at_cursor<F>(&self, f: F) -> SignalHandlerId
fn emit_insert_at_cursor(&self, string: &str)
fn connect_move_cursor<F>(&self, f: F) -> SignalHandlerId
fn emit_move_cursor( &self, step: MovementStep, count: i32, extend_selection: bool, )
fn connect_paste_clipboard<F>(&self, f: F) -> SignalHandlerId
fn emit_paste_clipboard(&self)
fn connect_populate_popup<F>(&self, f: F) -> SignalHandlerId
fn connect_preedit_changed<F>(&self, f: F) -> SignalHandlerId
fn emit_preedit_changed(&self, preedit: &str)
fn connect_toggle_overwrite<F>(&self, f: F) -> SignalHandlerId
fn emit_toggle_overwrite(&self)
fn connect_property_activates_default_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_attributes_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_buffer_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_caps_lock_warning_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_completion_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_cursor_position_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_editable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_enable_emoji_completion_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_has_frame_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_im_module_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_input_hints_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_input_purpose_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_invisible_char_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_invisible_char_set_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_max_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_max_width_chars_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_overwrite_mode_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_placeholder_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_populate_all_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_primary_icon_activatable_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_primary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_primary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_primary_icon_pixbuf_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_primary_icon_sensitive_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_primary_icon_storage_type_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_primary_icon_tooltip_markup_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_primary_icon_tooltip_text_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_progress_fraction_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_progress_pulse_step_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_scroll_offset_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_secondary_icon_activatable_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_gicon_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_name_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_pixbuf_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_sensitive_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_storage_type_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_tooltip_markup_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_icon_tooltip_text_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_selection_bound_notify<F>(&self, f: F) -> SignalHandlerId
Source§fn connect_property_shadow_type_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_shadow_type_notify<F>(&self, f: F) -> SignalHandlerId
👎Deprecated
fn connect_property_show_emoji_icon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_text_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_truncate_multiline_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_visibility_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_width_chars_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_xalign_notify<F>(&self, f: F) -> SignalHandlerId
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
.fn get_type(&self) -> Type
fn get_object_class(&self) -> &ObjectClass
fn set_property<'a, N>( &self, property_name: N, value: &dyn ToValue, ) -> Result<(), BoolError>
fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError>
fn block_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn stop_signal_emission(&self, signal_name: &str)
fn disconnect(&self, handler_id: SignalHandlerId)
fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
fn notify<'a, N>(&self, property_name: N)
fn notify_by_pspec(&self, pspec: &ParamSpec)
fn has_property<'a, N>( &self, property_name: N, type_: Option<Type>, ) -> Result<(), BoolError>
fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type>
fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec>
fn list_properties(&self) -> Vec<ParamSpec>
fn connect<'a, N, F>( &self, signal_name: N, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
unsafe fn connect_unsafe<'a, N, F>( &self, signal_name: N, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
fn emit<'a, N>( &self, signal_name: N, args: &[&dyn ToValue], ) -> Result<Option<Value>, BoolError>
fn downgrade(&self) -> WeakRef<T>
fn bind_property<'a, O, N, M>( &'a self, source_property: N, target: &'a O, target_property: M, ) -> BindingBuilder<'a>
fn ref_count(&self) -> u32
Source§impl<O> WidgetExt for O
impl<O> WidgetExt for O
fn activate(&self) -> bool
fn add_accelerator<P>(
&self,
accel_signal: &str,
accel_group: &P,
accel_key: u32,
accel_mods: ModifierType,
accel_flags: AccelFlags,
)where
P: IsA<AccelGroup>,
fn add_device_events(&self, device: &Device, events: EventMask)
fn add_mnemonic_label<P>(&self, label: &P)
fn can_activate_accel(&self, signal_id: u32) -> bool
fn child_focus(&self, direction: DirectionType) -> bool
fn child_notify(&self, child_property: &str)
fn compute_expand(&self, orientation: Orientation) -> bool
fn create_pango_context(&self) -> Option<Context>
fn create_pango_layout(&self, text: Option<&str>) -> Option<Layout>
fn destroy(&self)
fn device_is_shadowed(&self, device: &Device) -> bool
fn drag_begin_with_coordinates( &self, targets: &TargetList, actions: DragAction, button: i32, event: Option<&Event>, x: i32, y: i32, ) -> Option<DragContext>
fn drag_check_threshold( &self, start_x: i32, start_y: i32, current_x: i32, current_y: i32, ) -> bool
fn drag_dest_add_image_targets(&self)
fn drag_dest_add_text_targets(&self)
fn drag_dest_add_uri_targets(&self)
fn drag_dest_find_target( &self, context: &DragContext, target_list: Option<&TargetList>, ) -> Option<Atom>
fn drag_dest_get_target_list(&self) -> Option<TargetList>
fn drag_dest_get_track_motion(&self) -> bool
Source§fn drag_dest_set_proxy<P>(
&self,
proxy_window: &P,
protocol: DragProtocol,
use_coordinates: bool,
)
fn drag_dest_set_proxy<P>( &self, proxy_window: &P, protocol: DragProtocol, use_coordinates: bool, )
👎Deprecated
fn drag_dest_set_target_list(&self, target_list: Option<&TargetList>)
fn drag_dest_set_track_motion(&self, track_motion: bool)
fn drag_dest_unset(&self)
fn drag_get_data(&self, context: &DragContext, target: &Atom, time_: u32)
fn drag_highlight(&self)
fn drag_source_add_image_targets(&self)
fn drag_source_add_text_targets(&self)
fn drag_source_add_uri_targets(&self)
fn drag_source_get_target_list(&self) -> Option<TargetList>
fn drag_source_set_icon_gicon<P>(&self, icon: &P)
fn drag_source_set_icon_name(&self, icon_name: &str)
fn drag_source_set_icon_pixbuf(&self, pixbuf: &Pixbuf)
fn drag_source_set_target_list(&self, target_list: Option<&TargetList>)
fn drag_source_unset(&self)
fn drag_unhighlight(&self)
fn draw(&self, cr: &Context)
fn error_bell(&self)
fn event(&self, event: &Event) -> bool
fn freeze_child_notify(&self)
fn get_accessible(&self) -> Option<Object>
fn get_action_group(&self, prefix: &str) -> Option<ActionGroup>
fn get_allocated_baseline(&self) -> i32
fn get_allocated_height(&self) -> i32
fn get_allocated_size(&self) -> (Rectangle, i32)
fn get_allocated_width(&self) -> i32
fn get_allocation(&self) -> Rectangle
fn get_ancestor(&self, widget_type: Type) -> Option<Widget>
fn get_app_paintable(&self) -> bool
fn get_can_default(&self) -> bool
fn get_can_focus(&self) -> bool
fn get_child_visible(&self) -> bool
fn get_clip(&self) -> Rectangle
fn get_clipboard(&self, selection: &Atom) -> Clipboard
fn get_device_enabled(&self, device: &Device) -> bool
fn get_device_events(&self, device: &Device) -> EventMask
fn get_direction(&self) -> TextDirection
fn get_display(&self) -> Option<Display>
fn get_double_buffered(&self) -> bool
fn get_focus_on_click(&self) -> bool
fn get_font_map(&self) -> Option<FontMap>
fn get_font_options(&self) -> Option<FontOptions>
fn get_frame_clock(&self) -> Option<FrameClock>
fn get_halign(&self) -> Align
fn get_has_tooltip(&self) -> bool
fn get_has_window(&self) -> bool
fn get_hexpand(&self) -> bool
fn get_hexpand_set(&self) -> bool
fn get_mapped(&self) -> bool
fn get_margin_bottom(&self) -> i32
fn get_margin_end(&self) -> i32
fn get_margin_start(&self) -> i32
fn get_margin_top(&self) -> i32
fn get_modifier_mask(&self, intent: ModifierIntent) -> ModifierType
fn get_name(&self) -> Option<GString>
fn get_no_show_all(&self) -> bool
fn get_opacity(&self) -> f64
fn get_pango_context(&self) -> Option<Context>
fn get_parent(&self) -> Option<Widget>
fn get_parent_window(&self) -> Option<Window>
fn get_path(&self) -> WidgetPath
fn get_preferred_height(&self) -> (i32, i32)
fn get_preferred_height_and_baseline_for_width( &self, width: i32, ) -> (i32, i32, i32, i32)
fn get_preferred_height_for_width(&self, width: i32) -> (i32, i32)
fn get_preferred_size(&self) -> (Requisition, Requisition)
fn get_preferred_width(&self) -> (i32, i32)
fn get_preferred_width_for_height(&self, height: i32) -> (i32, i32)
fn get_realized(&self) -> bool
fn get_receives_default(&self) -> bool
fn get_request_mode(&self) -> SizeRequestMode
fn get_scale_factor(&self) -> i32
fn get_screen(&self) -> Option<Screen>
fn get_sensitive(&self) -> bool
fn get_settings(&self) -> Option<Settings>
fn get_size_request(&self) -> (i32, i32)
fn get_state_flags(&self) -> StateFlags
fn get_style_context(&self) -> StyleContext
fn get_support_multidevice(&self) -> bool
fn get_template_child(&self, widget_type: Type, name: &str) -> Option<Object>
fn get_tooltip_markup(&self) -> Option<GString>
fn get_tooltip_text(&self) -> Option<GString>
fn get_tooltip_window(&self) -> Option<Window>
fn get_toplevel(&self) -> Option<Widget>
fn get_valign(&self) -> Align
fn get_valign_with_baseline(&self) -> Align
fn get_vexpand(&self) -> bool
fn get_vexpand_set(&self) -> bool
fn get_visible(&self) -> bool
fn get_visual(&self) -> Option<Visual>
fn get_window(&self) -> Option<Window>
fn grab_add(&self)
fn grab_default(&self)
fn grab_focus(&self)
fn grab_remove(&self)
fn has_default(&self) -> bool
fn has_focus(&self) -> bool
fn has_grab(&self) -> bool
fn has_screen(&self) -> bool
fn has_visible_focus(&self) -> bool
fn hide(&self)
fn hide_on_delete(&self) -> bool
fn in_destruction(&self) -> bool
fn init_template(&self)
fn input_shape_combine_region(&self, region: Option<&Region>)
fn insert_action_group<P>(&self, name: &str, group: Option<&P>)where
P: IsA<ActionGroup>,
fn is_ancestor<P>(&self, ancestor: &P) -> bool
Source§fn is_composited(&self) -> bool
fn is_composited(&self) -> bool
👎Deprecated
fn is_drawable(&self) -> bool
fn is_focus(&self) -> bool
fn is_sensitive(&self) -> bool
fn is_toplevel(&self) -> bool
fn is_visible(&self) -> bool
fn list_accel_closures(&self) -> Vec<Closure>
fn list_action_prefixes(&self) -> Vec<GString>
fn list_mnemonic_labels(&self) -> Vec<Widget>
fn map(&self)
fn mnemonic_activate(&self, group_cycling: bool) -> bool
Source§fn override_background_color(&self, state: StateFlags, color: Option<&RGBA>)
fn override_background_color(&self, state: StateFlags, color: Option<&RGBA>)
👎Deprecated
Source§fn override_color(&self, state: StateFlags, color: Option<&RGBA>)
fn override_color(&self, state: StateFlags, color: Option<&RGBA>)
👎Deprecated
Source§fn override_cursor(
&self,
cursor: Option<&RGBA>,
secondary_cursor: Option<&RGBA>,
)
fn override_cursor( &self, cursor: Option<&RGBA>, secondary_cursor: Option<&RGBA>, )
👎Deprecated
Source§fn override_font(&self, font_desc: Option<&FontDescription>)
fn override_font(&self, font_desc: Option<&FontDescription>)
👎Deprecated
fn queue_allocate(&self)
fn queue_compute_expand(&self)
fn queue_draw(&self)
fn queue_draw_area(&self, x: i32, y: i32, width: i32, height: i32)
fn queue_draw_region(&self, region: &Region)
fn queue_resize(&self)
fn queue_resize_no_redraw(&self)
fn realize(&self)
fn register_window<P>(&self, window: &P)
fn remove_accelerator<P>(
&self,
accel_group: &P,
accel_key: u32,
accel_mods: ModifierType,
) -> boolwhere
P: IsA<AccelGroup>,
fn remove_mnemonic_label<P>(&self, label: &P)
fn reset_style(&self)
Source§fn send_expose(&self, event: &Event) -> i32
fn send_expose(&self, event: &Event) -> i32
👎Deprecated
fn send_focus_change(&self, event: &Event) -> bool
fn set_accel_path<P>(&self, accel_path: Option<&str>, accel_group: Option<&P>)where
P: IsA<AccelGroup>,
fn set_allocation(&self, allocation: &Rectangle)
fn set_app_paintable(&self, app_paintable: bool)
fn set_can_default(&self, can_default: bool)
fn set_can_focus(&self, can_focus: bool)
fn set_child_visible(&self, is_visible: bool)
fn set_clip(&self, clip: &Rectangle)
fn set_device_enabled(&self, device: &Device, enabled: bool)
fn set_device_events(&self, device: &Device, events: EventMask)
fn set_direction(&self, dir: TextDirection)
fn set_focus_on_click(&self, focus_on_click: bool)
fn set_font_map<P>(&self, font_map: Option<&P>)
fn set_font_options(&self, options: Option<&FontOptions>)
fn set_halign(&self, align: Align)
fn set_has_tooltip(&self, has_tooltip: bool)
fn set_has_window(&self, has_window: bool)
fn set_hexpand(&self, expand: bool)
fn set_hexpand_set(&self, set: bool)
fn set_mapped(&self, mapped: bool)
fn set_margin_bottom(&self, margin: i32)
fn set_margin_end(&self, margin: i32)
fn set_margin_start(&self, margin: i32)
fn set_margin_top(&self, margin: i32)
fn set_name(&self, name: &str)
fn set_no_show_all(&self, no_show_all: bool)
fn set_opacity(&self, opacity: f64)
fn set_parent<P>(&self, parent: &P)
fn set_parent_window<P>(&self, parent_window: &P)
fn set_realized(&self, realized: bool)
fn set_receives_default(&self, receives_default: bool)
fn set_redraw_on_allocate(&self, redraw_on_allocate: bool)
fn set_sensitive(&self, sensitive: bool)
fn set_size_request(&self, width: i32, height: i32)
fn set_state_flags(&self, flags: StateFlags, clear: bool)
fn set_support_multidevice(&self, support_multidevice: bool)
fn set_tooltip_markup(&self, markup: Option<&str>)
fn set_tooltip_text(&self, text: Option<&str>)
fn set_tooltip_window<P>(&self, custom_window: Option<&P>)
fn set_valign(&self, align: Align)
fn set_vexpand(&self, expand: bool)
fn set_vexpand_set(&self, set: bool)
fn set_visible(&self, visible: bool)
fn set_visual(&self, visual: Option<&Visual>)
fn set_window<P>(&self, window: &P)
fn shape_combine_region(&self, region: Option<&Region>)
fn show(&self)
fn show_all(&self)
fn show_now(&self)
fn size_allocate(&self, allocation: &mut Rectangle)
fn size_allocate_with_baseline(&self, allocation: &mut Rectangle, baseline: i32)
fn thaw_child_notify(&self)
fn translate_coordinates<P>( &self, dest_widget: &P, src_x: i32, src_y: i32, ) -> Option<(i32, i32)>
fn trigger_tooltip_query(&self)
fn unmap(&self)
fn unparent(&self)
fn unrealize(&self)
fn unregister_window<P>(&self, window: &P)
fn unset_state_flags(&self, flags: StateFlags)
fn get_property_composite_child(&self) -> bool
fn get_property_expand(&self) -> bool
fn set_property_expand(&self, expand: bool)
fn get_property_has_default(&self) -> bool
fn set_property_has_default(&self, has_default: bool)
fn get_property_has_focus(&self) -> bool
fn set_property_has_focus(&self, has_focus: bool)
fn get_property_height_request(&self) -> i32
fn set_property_height_request(&self, height_request: i32)
fn get_property_is_focus(&self) -> bool
fn set_property_is_focus(&self, is_focus: bool)
fn get_property_margin(&self) -> i32
fn set_property_margin(&self, margin: i32)
fn get_property_width_request(&self) -> i32
fn set_property_width_request(&self, width_request: i32)
fn connect_accel_closures_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_can_activate_accel<F>(&self, f: F) -> SignalHandlerId
Source§fn connect_composited_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_composited_changed<F>(&self, f: F) -> SignalHandlerId
👎Deprecated
Source§fn emit_composited_changed(&self)
fn emit_composited_changed(&self)
👎Deprecated