Trait gtk::EntryExt [] [src]

pub trait EntryExt {
    fn get_activates_default(&self) -> bool;
    fn get_alignment(&self) -> f32;
    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_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_invisible_char(&self) -> Option<char>; fn get_layout_offsets(&self) -> (i32, i32); fn get_max_length(&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_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 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_buffer(&self, buffer: &EntryBuffer); fn set_completion(&self, completion: Option<&EntryCompletion>); fn set_cursor_hadjustment(&self, adjustment: Option<&Adjustment>); fn set_has_frame(&self, setting: bool); fn set_icon_activatable(&self,
                            icon_pos: EntryIconPosition,
                            activatable: bool); fn set_icon_from_icon_name<'a, T: Into<Option<&'a str>>>(&self,
                                                             icon_pos: EntryIconPosition,
                                                             icon_name: T); fn set_icon_from_pixbuf(&self,
                            icon_pos: EntryIconPosition,
                            pixbuf: Option<&Pixbuf>); fn set_icon_from_stock<'a, T: Into<Option<&'a str>>>(&self,
                                                         icon_pos: EntryIconPosition,
                                                         stock_id: T); fn set_icon_sensitive(&self, icon_pos: EntryIconPosition, sensitive: bool); fn set_icon_tooltip_markup<'a, T: Into<Option<&'a str>>>(&self,
                                                             icon_pos: EntryIconPosition,
                                                             tooltip: T); fn set_icon_tooltip_text<'a, T: Into<Option<&'a str>>>(&self,
                                                           icon_pos: EntryIconPosition,
                                                           tooltip: T); 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<'a, T: Into<Option<&'a str>>>(&self, text: T); fn set_progress_fraction(&self, fraction: f64); fn set_progress_pulse_step(&self, fraction: f64); 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_editable(&self) -> bool; fn set_property_editable(&self, editable: bool); 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_primary_icon_activatable(&self) -> bool; fn set_property_primary_icon_activatable(&self,
                                             primary_icon_activatable: bool); 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_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