Trait sourceview5::prelude::EntryExt
source · pub trait EntryExt: IsA<Entry> + Sealed + 'static {
Show 140 methods
// Provided methods
fn activates_default(&self) -> bool { ... }
fn alignment(&self) -> f32 { ... }
fn attributes(&self) -> Option<AttrList> { ... }
fn buffer(&self) -> EntryBuffer { ... }
fn completion(&self) -> Option<EntryCompletion> { ... }
fn current_icon_drag_source(&self) -> i32 { ... }
fn extra_menu(&self) -> Option<MenuModel> { ... }
fn has_frame(&self) -> bool { ... }
fn icon_is_activatable(&self, icon_pos: EntryIconPosition) -> bool { ... }
fn icon_area(&self, icon_pos: EntryIconPosition) -> Rectangle { ... }
fn icon_at_pos(&self, x: i32, y: i32) -> i32 { ... }
fn icon_gicon(&self, icon_pos: EntryIconPosition) -> Option<Icon> { ... }
fn icon_name(&self, icon_pos: EntryIconPosition) -> Option<GString> { ... }
fn icon_paintable(&self, icon_pos: EntryIconPosition) -> Option<Paintable> { ... }
fn icon_is_sensitive(&self, icon_pos: EntryIconPosition) -> bool { ... }
fn icon_storage_type(&self, icon_pos: EntryIconPosition) -> ImageType { ... }
fn icon_tooltip_markup(
&self,
icon_pos: EntryIconPosition,
) -> Option<GString> { ... }
fn icon_tooltip_text(&self, icon_pos: EntryIconPosition) -> Option<GString> { ... }
fn input_hints(&self) -> InputHints { ... }
fn input_purpose(&self) -> InputPurpose { ... }
fn max_length(&self) -> i32 { ... }
fn is_overwrite_mode(&self) -> bool { ... }
fn placeholder_text(&self) -> Option<GString> { ... }
fn progress_fraction(&self) -> f64 { ... }
fn progress_pulse_step(&self) -> f64 { ... }
fn tabs(&self) -> Option<TabArray> { ... }
fn text_length(&self) -> u16 { ... }
fn is_visible(&self) -> bool { ... }
fn grab_focus_without_selecting(&self) -> bool { ... }
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(&self, buffer: &impl IsA<EntryBuffer>) { ... }
fn set_completion(&self, completion: Option<&EntryCompletion>) { ... }
fn set_extra_menu(&self, model: Option<&impl IsA<MenuModel>>) { ... }
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,
provider: &impl IsA<ContentProvider>,
actions: DragAction,
) { ... }
fn set_icon_from_gicon(
&self,
icon_pos: EntryIconPosition,
icon: Option<&impl IsA<Icon>>,
) { ... }
fn set_icon_from_icon_name(
&self,
icon_pos: EntryIconPosition,
icon_name: Option<&str>,
) { ... }
fn set_icon_from_paintable(
&self,
icon_pos: EntryIconPosition,
paintable: Option<&impl IsA<Paintable>>,
) { ... }
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_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: Option<&TabArray>) { ... }
fn set_visibility(&self, visible: bool) { ... }
fn unset_invisible_char(&self) { ... }
fn enables_emoji_completion(&self) -> bool { ... }
fn set_enable_emoji_completion(&self, enable_emoji_completion: bool) { ... }
fn im_module(&self) -> Option<GString> { ... }
fn set_im_module(&self, im_module: Option<&str>) { ... }
fn is_invisible_char_set(&self) -> bool { ... }
fn is_primary_icon_activatable(&self) -> bool { ... }
fn set_primary_icon_activatable(&self, primary_icon_activatable: bool) { ... }
fn primary_icon_gicon(&self) -> Option<Icon> { ... }
fn set_primary_icon_gicon<P>(&self, primary_icon_gicon: Option<&P>)
where P: IsA<Icon> { ... }
fn primary_icon_name(&self) -> Option<GString> { ... }
fn set_primary_icon_name(&self, primary_icon_name: Option<&str>) { ... }
fn primary_icon_paintable(&self) -> Option<Paintable> { ... }
fn set_primary_icon_paintable<P>(&self, primary_icon_paintable: Option<&P>)
where P: IsA<Paintable> { ... }
fn is_primary_icon_sensitive(&self) -> bool { ... }
fn set_primary_icon_sensitive(&self, primary_icon_sensitive: bool) { ... }
fn primary_icon_storage_type(&self) -> ImageType { ... }
fn primary_icon_tooltip_markup(&self) -> Option<GString> { ... }
fn set_primary_icon_tooltip_markup(
&self,
primary_icon_tooltip_markup: Option<&str>,
) { ... }
fn primary_icon_tooltip_text(&self) -> Option<GString> { ... }
fn set_primary_icon_tooltip_text(
&self,
primary_icon_tooltip_text: Option<&str>,
) { ... }
fn scroll_offset(&self) -> i32 { ... }
fn is_secondary_icon_activatable(&self) -> bool { ... }
fn set_secondary_icon_activatable(&self, secondary_icon_activatable: bool) { ... }
fn secondary_icon_gicon(&self) -> Option<Icon> { ... }
fn set_secondary_icon_gicon<P>(&self, secondary_icon_gicon: Option<&P>)
where P: IsA<Icon> { ... }
fn secondary_icon_name(&self) -> Option<GString> { ... }
fn set_secondary_icon_name(&self, secondary_icon_name: Option<&str>) { ... }
fn secondary_icon_paintable(&self) -> Option<Paintable> { ... }
fn set_secondary_icon_paintable<P>(
&self,
secondary_icon_paintable: Option<&P>,
)
where P: IsA<Paintable> { ... }
fn is_secondary_icon_sensitive(&self) -> bool { ... }
fn set_secondary_icon_sensitive(&self, secondary_icon_sensitive: bool) { ... }
fn secondary_icon_storage_type(&self) -> ImageType { ... }
fn secondary_icon_tooltip_markup(&self) -> Option<GString> { ... }
fn set_secondary_icon_tooltip_markup(
&self,
secondary_icon_tooltip_markup: Option<&str>,
) { ... }
fn secondary_icon_tooltip_text(&self) -> Option<GString> { ... }
fn set_secondary_icon_tooltip_text(
&self,
secondary_icon_tooltip_text: Option<&str>,
) { ... }
fn shows_emoji_icon(&self) -> bool { ... }
fn set_show_emoji_icon(&self, show_emoji_icon: bool) { ... }
fn must_truncate_multiline(&self) -> bool { ... }
fn set_truncate_multiline(&self, truncate_multiline: bool) { ... }
fn connect_activate<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn emit_activate(&self) { ... }
fn connect_icon_press<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, EntryIconPosition) + 'static { ... }
fn connect_icon_release<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, EntryIconPosition) + 'static { ... }
fn connect_activates_default_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_attributes_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_buffer_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_completion_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_enable_emoji_completion_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_extra_menu_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_has_frame_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_im_module_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_input_hints_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_input_purpose_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_invisible_char_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_invisible_char_set_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_max_length_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_overwrite_mode_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_placeholder_text_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_activatable_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_paintable_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_storage_type_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_tooltip_markup_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_primary_icon_tooltip_text_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_progress_fraction_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_progress_pulse_step_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_scroll_offset_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_activatable_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_paintable_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_sensitive_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_storage_type_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_tooltip_markup_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_secondary_icon_tooltip_text_notify<F>(
&self,
f: F,
) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_show_emoji_icon_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_tabs_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_text_length_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_truncate_multiline_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
fn connect_visibility_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static { ... }
}
Provided Methods§
fn activates_default(&self) -> bool
fn alignment(&self) -> f32
fn attributes(&self) -> Option<AttrList>
fn buffer(&self) -> EntryBuffer
fn completion(&self) -> Option<EntryCompletion>
👎Deprecated: Since 4.10
fn current_icon_drag_source(&self) -> i32
fn has_frame(&self) -> bool
fn icon_is_activatable(&self, icon_pos: EntryIconPosition) -> bool
fn icon_area(&self, icon_pos: EntryIconPosition) -> Rectangle
fn icon_at_pos(&self, x: i32, y: i32) -> i32
fn icon_gicon(&self, icon_pos: EntryIconPosition) -> Option<Icon>
fn icon_name(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn icon_paintable(&self, icon_pos: EntryIconPosition) -> Option<Paintable>
fn icon_is_sensitive(&self, icon_pos: EntryIconPosition) -> bool
fn icon_storage_type(&self, icon_pos: EntryIconPosition) -> ImageType
fn icon_tooltip_markup(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn icon_tooltip_text(&self, icon_pos: EntryIconPosition) -> Option<GString>
fn input_hints(&self) -> InputHints
fn input_purpose(&self) -> InputPurpose
fn max_length(&self) -> i32
fn is_overwrite_mode(&self) -> bool
fn placeholder_text(&self) -> Option<GString>
fn progress_fraction(&self) -> f64
fn progress_pulse_step(&self) -> f64
fn tabs(&self) -> Option<TabArray>
fn text_length(&self) -> u16
fn is_visible(&self) -> bool
fn grab_focus_without_selecting(&self) -> bool
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(&self, buffer: &impl IsA<EntryBuffer>)
fn set_completion(&self, completion: Option<&EntryCompletion>)
👎Deprecated: Since 4.10
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, provider: &impl IsA<ContentProvider>, actions: DragAction, )
fn set_icon_from_gicon( &self, icon_pos: EntryIconPosition, icon: Option<&impl IsA<Icon>>, )
fn set_icon_from_icon_name( &self, icon_pos: EntryIconPosition, icon_name: Option<&str>, )
fn set_icon_from_paintable( &self, icon_pos: EntryIconPosition, paintable: Option<&impl IsA<Paintable>>, )
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_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: Option<&TabArray>)
fn set_visibility(&self, visible: bool)
fn unset_invisible_char(&self)
fn enables_emoji_completion(&self) -> bool
fn set_enable_emoji_completion(&self, enable_emoji_completion: bool)
fn im_module(&self) -> Option<GString>
fn set_im_module(&self, im_module: Option<&str>)
fn is_invisible_char_set(&self) -> bool
fn is_primary_icon_activatable(&self) -> bool
fn set_primary_icon_activatable(&self, primary_icon_activatable: bool)
fn primary_icon_gicon(&self) -> Option<Icon>
fn set_primary_icon_gicon<P>(&self, primary_icon_gicon: Option<&P>)
fn primary_icon_name(&self) -> Option<GString>
fn set_primary_icon_name(&self, primary_icon_name: Option<&str>)
fn primary_icon_paintable(&self) -> Option<Paintable>
fn set_primary_icon_paintable<P>(&self, primary_icon_paintable: Option<&P>)
fn is_primary_icon_sensitive(&self) -> bool
fn set_primary_icon_sensitive(&self, primary_icon_sensitive: bool)
fn primary_icon_storage_type(&self) -> ImageType
fn primary_icon_tooltip_markup(&self) -> Option<GString>
fn set_primary_icon_tooltip_markup( &self, primary_icon_tooltip_markup: Option<&str>, )
fn primary_icon_tooltip_text(&self) -> Option<GString>
fn set_primary_icon_tooltip_text(&self, primary_icon_tooltip_text: Option<&str>)
fn scroll_offset(&self) -> i32
fn is_secondary_icon_activatable(&self) -> bool
fn set_secondary_icon_activatable(&self, secondary_icon_activatable: bool)
fn secondary_icon_gicon(&self) -> Option<Icon>
fn set_secondary_icon_gicon<P>(&self, secondary_icon_gicon: Option<&P>)
fn secondary_icon_name(&self) -> Option<GString>
fn set_secondary_icon_name(&self, secondary_icon_name: Option<&str>)
fn secondary_icon_paintable(&self) -> Option<Paintable>
fn set_secondary_icon_paintable<P>(&self, secondary_icon_paintable: Option<&P>)
fn is_secondary_icon_sensitive(&self) -> bool
fn set_secondary_icon_sensitive(&self, secondary_icon_sensitive: bool)
fn secondary_icon_storage_type(&self) -> ImageType
fn secondary_icon_tooltip_markup(&self) -> Option<GString>
fn set_secondary_icon_tooltip_markup( &self, secondary_icon_tooltip_markup: Option<&str>, )
fn secondary_icon_tooltip_text(&self) -> Option<GString>
fn set_secondary_icon_tooltip_text( &self, secondary_icon_tooltip_text: Option<&str>, )
fn shows_emoji_icon(&self) -> bool
fn set_show_emoji_icon(&self, show_emoji_icon: bool)
fn must_truncate_multiline(&self) -> bool
fn set_truncate_multiline(&self, truncate_multiline: bool)
fn connect_activate<F>(&self, f: F) -> SignalHandlerId
fn emit_activate(&self)
fn connect_icon_press<F>(&self, f: F) -> SignalHandlerId
fn connect_icon_release<F>(&self, f: F) -> SignalHandlerId
fn connect_activates_default_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_attributes_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_buffer_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_completion_notify<F>(&self, f: F) -> SignalHandlerId
👎Deprecated: Since 4.10
fn connect_enable_emoji_completion_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_has_frame_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_im_module_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_input_hints_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_input_purpose_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_invisible_char_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_invisible_char_set_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_max_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_overwrite_mode_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_placeholder_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_activatable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_paintable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_storage_type_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_tooltip_markup_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_primary_icon_tooltip_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_progress_fraction_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_progress_pulse_step_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_scroll_offset_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_activatable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_gicon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_paintable_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_storage_type_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_secondary_icon_tooltip_markup_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_secondary_icon_tooltip_text_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_show_emoji_icon_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_tabs_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_text_length_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_truncate_multiline_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_visibility_notify<F>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.