Trait libhelium::prelude::TextFieldExt
source · pub trait TextFieldExt: IsA<TextField> + Sealed + 'static {
Show 42 methods
// Provided methods
fn internal_entry(&self) -> Text { ... }
fn is_valid(&self) -> bool { ... }
fn set_is_valid(&self, value: bool) { ... }
fn needs_validation(&self) -> bool { ... }
fn set_needs_validation(&self, value: bool) { ... }
fn min_length(&self) -> i32 { ... }
fn set_min_length(&self, value: i32) { ... }
fn regex(&self) -> Regex { ... }
fn set_regex(&self, value: &Regex) { ... }
fn is_search(&self) -> bool { ... }
fn set_is_search(&self, value: bool) { ... }
fn is_outline(&self) -> bool { ... }
fn set_is_outline(&self, value: bool) { ... }
fn entry(&self) -> Text { ... }
fn text(&self) -> Option<GString> { ... }
fn set_text(&self, value: Option<&str>) { ... }
fn suffix_icon(&self) -> Option<GString> { ... }
fn set_suffix_icon(&self, value: Option<&str>) { ... }
fn prefix_icon(&self) -> Option<GString> { ... }
fn set_prefix_icon(&self, value: Option<&str>) { ... }
fn support_text(&self) -> Option<GString> { ... }
fn set_support_text(&self, value: Option<&str>) { ... }
fn placeholder_text(&self) -> Option<GString> { ... }
fn set_placeholder_text(&self, value: Option<&str>) { ... }
fn max_length(&self) -> i32 { ... }
fn set_max_length(&self, value: i32) { ... }
fn is_visible(&self) -> bool { ... }
fn set_visibility(&self, value: bool) { ... }
fn connect_is_valid_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_needs_validation_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_min_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_regex_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_is_search_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_is_outline_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_entry_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_suffix_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_prefix_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_support_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_placeholder_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_max_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_visibility_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
sourcefn internal_entry(&self) -> Text
fn internal_entry(&self) -> Text
fn is_valid(&self) -> bool
fn set_is_valid(&self, value: bool)
fn needs_validation(&self) -> bool
fn set_needs_validation(&self, value: bool)
fn min_length(&self) -> i32
fn set_min_length(&self, value: i32)
fn regex(&self) -> Regex
fn set_regex(&self, value: &Regex)
fn is_search(&self) -> bool
fn set_is_search(&self, value: bool)
fn is_outline(&self) -> bool
fn set_is_outline(&self, value: bool)
fn entry(&self) -> Text
fn text(&self) -> Option<GString>
fn set_text(&self, value: Option<&str>)
fn suffix_icon(&self) -> Option<GString>
fn set_suffix_icon(&self, value: Option<&str>)
fn prefix_icon(&self) -> Option<GString>
fn set_prefix_icon(&self, value: Option<&str>)
fn support_text(&self) -> Option<GString>
fn set_support_text(&self, value: Option<&str>)
fn placeholder_text(&self) -> Option<GString>
fn set_placeholder_text(&self, value: Option<&str>)
fn max_length(&self) -> i32
fn set_max_length(&self, value: i32)
fn is_visible(&self) -> bool
fn set_visibility(&self, value: bool)
fn connect_is_valid_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_needs_validation_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_min_length_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_regex_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_is_search_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_is_outline_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_entry_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_text_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_suffix_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_prefix_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_support_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_placeholder_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_max_length_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_visibility_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.