Trait gtk::EntryExt [] [src]

pub trait EntryExt {
    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<String>;
    fn get_icon_pixbuf(&self, icon_pos: EntryIconPosition) -> Option<Pixbuf>;
    fn get_icon_sensitive(&self, icon_pos: EntryIconPosition) -> bool;
    fn get_icon_stock(&self, icon_pos: EntryIconPosition) -> Option<String>;
    fn get_icon_storage_type(&self, icon_pos: EntryIconPosition) -> ImageType;
    fn get_icon_tooltip_markup(
        &self,
        icon_pos: EntryIconPosition
    ) -> Option<String>; fn get_icon_tooltip_text(
        &self,
        icon_pos: EntryIconPosition
    ) -> Option<String>; 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<String>; fn get_progress_fraction(&self) -> f64; fn get_progress_pulse_step(&self) -> f64; fn get_tabs(&self) -> Option<TabArray>; fn get_text(&self) -> Option<String>; 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(&self, buffer: &EntryBuffer); fn set_completion<'a, P: Into<Option<&'a EntryCompletion>>>(
        &self,
        completion: P
    ); fn set_cursor_hadjustment<'a, P: Into<Option<&'a Adjustment>>>(
        &self,
        adjustment: P
    ); 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<'a, P: IsA<Icon> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        icon_pos: EntryIconPosition,
        icon: Q
    ); fn set_icon_from_icon_name<'a, P: Into<Option<&'a str>>>(
        &self,
        icon_pos: EntryIconPosition,
        icon_name: P
    ); fn set_icon_from_pixbuf<'a, P: Into<Option<&'a Pixbuf>>>(
        &self,
        icon_pos: EntryIconPosition,
        pixbuf: P
    ); fn set_icon_from_stock<'a, P: Into<Option<&'a str>>>(
        &self,
        icon_pos: EntryIconPosition,
        stock_id: P
    ); fn set_icon_sensitive(&self, icon_pos: EntryIconPosition, sensitive: bool); fn set_icon_tooltip_markup<'a, P: Into<Option<&'a str>>>(
        &self,
        icon_pos: EntryIconPosition,
        tooltip: P
    ); fn set_icon_tooltip_text<'a, P: Into<Option<&'a str>>>(
        &self,
        icon_pos: EntryIconPosition,
        tooltip: P
    ); fn set_input_hints(&self, hints: InputHints); fn set_input_purpose(&self, purpose: InputPurpose); fn set_invisible_char<P: Into<Option<char>>>(&self, ch: P); 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<'a, P: Into<Option<&'a str>>>(&self, text: P); fn set_progress_fraction(&self, fraction: f64); fn set_progress_pulse_step(&self, fraction: f64); fn set_tabs(&self, tabs: &mut 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_im_module(&self) -> Option<String>; 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<P: IsA<Icon> + IsA<Object>>(
        &self,
        primary_icon_gicon: Option<&P>
    ); fn get_property_primary_icon_name(&self) -> Option<String>; 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_stock(&self) -> Option<String>; fn set_property_primary_icon_stock(&self, primary_icon_stock: Option<&str>); fn get_property_primary_icon_storage_type(&self) -> ImageType; fn get_property_primary_icon_tooltip_markup(&self) -> Option<String>; fn set_property_primary_icon_tooltip_markup(
        &self,
        primary_icon_tooltip_markup: Option<&str>
    ); fn get_property_primary_icon_tooltip_text(&self) -> Option<String>; 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<P: IsA<Icon> + IsA<Object>>(
        &self,
        secondary_icon_gicon: Option<&P>
    ); fn get_property_secondary_icon_name(&self) -> Option<String>; 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_stock(&self) -> Option<String>; fn set_property_secondary_icon_stock(
        &self,
        secondary_icon_stock: Option<&str>
    ); fn get_property_secondary_icon_storage_type(&self) -> ImageType; fn get_property_secondary_icon_tooltip_markup(&self) -> Option<String>; fn set_property_secondary_icon_tooltip_markup(
        &self,
        secondary_icon_tooltip_markup: Option<&str>
    ); fn get_property_secondary_icon_tooltip_text(&self) -> Option<String>; fn set_property_secondary_icon_tooltip_text(
        &self,
        secondary_icon_tooltip_text: Option<&str>
    ); fn get_property_selection_bound(&self) -> i32; fn get_property_shadow_type(&self) -> ShadowType; fn set_property_shadow_type(&self, shadow_type: ShadowType); 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: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_backspace<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_copy_clipboard<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_cut_clipboard<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_delete_from_cursor<F: Fn(&Self, DeleteType, i32) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_icon_press<F: Fn(&Self, EntryIconPosition, &EventButton) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_icon_release<F: Fn(&Self, EntryIconPosition, &EventButton) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_insert_at_cursor<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_move_cursor<F: Fn(&Self, MovementStep, i32, bool) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_paste_clipboard<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_populate_popup<F: Fn(&Self, &Widget) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_preedit_changed<F: Fn(&Self, &str) + 'static>(&self, f: F) -> u64; fn connect_toggle_overwrite<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors