pub struct SubstringEntryRow {Show 22 fields
pub header: TemplateChild<Box>,
pub main_content: TemplateChild<Box>,
pub entry_box: TemplateChild<Box>,
pub text: TemplateChild<Text>,
pub title: TemplateChild<Label>,
pub edit_icon: TemplateChild<Image>,
pub entry_prefix_label: TemplateChild<Label>,
pub entry_suffix_label: TemplateChild<Label>,
pub add_button: TemplateChild<LoadingButton>,
pub input_hints: PhantomData<InputHints>,
pub input_purpose: PhantomData<InputPurpose>,
pub attributes: PhantomData<Option<AttrList>>,
pub placeholder_text: PhantomData<Option<GString>>,
pub text_length: PhantomData<u32>,
pub prefix_text: PhantomData<GString>,
pub suffix_text: PhantomData<GString>,
pub accessible_description: RefCell<Option<String>>,
pub hide_add_button: PhantomData<bool>,
pub add_button_tooltip_text: PhantomData<Option<GString>>,
pub add_button_accessible_label: RefCell<Option<String>>,
pub inhibit_add: Cell<bool>,
pub is_loading: PhantomData<bool>,
}
Fields§
§header: TemplateChild<Box>
§main_content: TemplateChild<Box>
§entry_box: TemplateChild<Box>
§text: TemplateChild<Text>
§title: TemplateChild<Label>
§edit_icon: TemplateChild<Image>
§entry_prefix_label: TemplateChild<Label>
§entry_suffix_label: TemplateChild<Label>
§input_hints: PhantomData<InputHints>
The input hints of the entry.
input_purpose: PhantomData<InputPurpose>
The input purpose of the entry.
attributes: PhantomData<Option<AttrList>>
A list of Pango attributes to apply to the text of the entry.
placeholder_text: PhantomData<Option<GString>>
The placeholder text of the entry.
text_length: PhantomData<u32>
The length of the text of the entry.
prefix_text: PhantomData<GString>
The prefix text of the entry.
suffix_text: PhantomData<GString>
The suffix text of the entry.
accessible_description: RefCell<Option<String>>
Set the accessible description of the entry.
If it is not set, the placeholder text will be used.
Whether the add button is hidden.
The tooltip text of the add button.
The accessible label of the add button.
inhibit_add: Cell<bool>
Whether to prevent the add button from being activated.
is_loading: PhantomData<bool>
Whether this row is loading.
Implementations§
Source§impl SubstringEntryRow
impl SubstringEntryRow
Sourcefn register_type()
fn register_type()
Registers the type only once.
Source§impl SubstringEntryRow
impl SubstringEntryRow
Sourcefn input_hints(&self) -> InputHints
fn input_hints(&self) -> InputHints
The input hints of the entry.
Sourcefn set_input_hints(&self, input_hints: InputHints)
fn set_input_hints(&self, input_hints: InputHints)
Set the input hints of the entry.
Sourcefn input_purpose(&self) -> InputPurpose
fn input_purpose(&self) -> InputPurpose
The input purpose of the entry.
Sourcefn set_input_purpose(&self, input_purpose: InputPurpose)
fn set_input_purpose(&self, input_purpose: InputPurpose)
Set the input purpose of the entry.
Sourcefn attributes(&self) -> Option<AttrList>
fn attributes(&self) -> Option<AttrList>
A list of Pango attributes to apply to the text of the entry.
Sourcefn set_attributes(&self, attributes: Option<&AttrList>)
fn set_attributes(&self, attributes: Option<&AttrList>)
Set the list of Pango attributes to apply to the text of the entry.
Sourcefn placeholder_text(&self) -> Option<GString>
fn placeholder_text(&self) -> Option<GString>
The placeholder text of the entry.
Sourcefn set_placeholder_text(&self, text: Option<&str>)
fn set_placeholder_text(&self, text: Option<&str>)
Set the placeholder text of the entry.
Sourcefn text_length(&self) -> u32
fn text_length(&self) -> u32
The length of the text of the entry.
Sourcefn prefix_text(&self) -> GString
fn prefix_text(&self) -> GString
The prefix text of the entry.
Sourcefn set_prefix_text(&self, text: &str)
fn set_prefix_text(&self, text: &str)
Set the prefix text of the entry.
Sourcefn suffix_text(&self) -> GString
fn suffix_text(&self) -> GString
The suffix text of the entry.
Sourcefn set_suffix_text(&self, text: &str)
fn set_suffix_text(&self, text: &str)
Set the suffix text of the entry.
Sourcefn set_accessible_description(&self, description: Option<String>)
fn set_accessible_description(&self, description: Option<String>)
Set the accessible description of the entry.
Whether the add button is hidden.
Set whether the add button is hidden.
The tooltip text of the add button.
Set the tooltip text of the add button.
Set the accessible label of the add button.
Sourcefn set_inhibit_add(&self, inhibit: bool)
fn set_inhibit_add(&self, inhibit: bool)
Set whether to prevent the add button from being activated.
Sourcefn is_loading(&self) -> bool
fn is_loading(&self) -> bool
Whether this row is loading.
Sourcefn set_is_loading(&self, is_loading: bool)
fn set_is_loading(&self, is_loading: bool)
Set whether this row is loading.
Sourcefn update_accessible_description(&self)
fn update_accessible_description(&self)
Update the accessible description.
Trait Implementations§
Source§impl CompositeTemplate for SubstringEntryRow
impl CompositeTemplate for SubstringEntryRow
fn bind_template(klass: &mut Self::Class)
fn check_template_children(widget: &<Self as ObjectSubclass>::Type)
Source§impl Debug for SubstringEntryRow
impl Debug for SubstringEntryRow
Source§impl Default for SubstringEntryRow
impl Default for SubstringEntryRow
Source§fn default() -> SubstringEntryRow
fn default() -> SubstringEntryRow
Source§impl DerivedObjectProperties for SubstringEntryRow
impl DerivedObjectProperties for SubstringEntryRow
Source§fn derived_properties() -> &'static [ParamSpec]
fn derived_properties() -> &'static [ParamSpec]
Source§fn derived_property(&self, id: usize, pspec: &ParamSpec) -> Value
fn derived_property(&self, id: usize, pspec: &ParamSpec) -> Value
ObjectImpl
but auto-generated by the Properties
macro
to allow handling more complex use-cases.Source§fn derived_set_property(&self, id: usize, value: &Value, pspec: &ParamSpec)
fn derived_set_property(&self, id: usize, value: &Value, pspec: &ParamSpec)
ObjectImpl
but auto-generated by the Properties
macro
to allow handling more complex use-cases.Source§impl EditableImpl for SubstringEntryRow
impl EditableImpl for SubstringEntryRow
fn delegate(&self) -> Option<Editable>
fn insert_text(&self, text: &str, length: i32, position: &mut i32)
fn delete_text(&self, start_position: i32, end_position: i32)
fn changed(&self)
fn text(&self) -> GString
fn do_insert_text(&self, text: &str, length: i32, position: &mut i32)
fn do_delete_text(&self, start_position: i32, end_position: i32)
fn selection_bounds(&self) -> Option<(i32, i32)>
fn set_selection_bounds(&self, start_position: i32, end_position: i32)
Source§impl ListBoxRowImpl for SubstringEntryRow
impl ListBoxRowImpl for SubstringEntryRow
Source§impl ObjectImpl for SubstringEntryRow
impl ObjectImpl for SubstringEntryRow
Source§fn properties() -> &'static [ParamSpec]
fn properties() -> &'static [ParamSpec]
Source§fn set_property(&self, id: usize, value: &Value, pspec: &ParamSpec)
fn set_property(&self, id: usize, value: &Value, pspec: &ParamSpec)
Source§fn constructed(&self)
fn constructed(&self)
Source§fn notify(&self, pspec: &ParamSpec)
fn notify(&self, pspec: &ParamSpec)
self.notify("property")
.fn dispatch_properties_changed(&self, pspecs: &[ParamSpec])
Source§impl ObjectSubclass for SubstringEntryRow
impl ObjectSubclass for SubstringEntryRow
Source§type Class = ClassStruct<SubstringEntryRow>
type Class = ClassStruct<SubstringEntryRow>
Source§type Instance = InstanceStruct<SubstringEntryRow>
type Instance = InstanceStruct<SubstringEntryRow>
Source§type Type = SubstringEntryRow
type Type = SubstringEntryRow
wrapper!
Source§type ParentType = PreferencesRow
type ParentType = PreferencesRow
Source§type Interfaces = (Editable,)
type Interfaces = (Editable,)
Source§fn class_init(klass: &mut Self::Class)
fn class_init(klass: &mut Self::Class)
Source§fn instance_init(obj: &InitializingObject<Self>)
fn instance_init(obj: &InitializingObject<Self>)
Source§const ALLOW_NAME_CONFLICT: bool = false
const ALLOW_NAME_CONFLICT: bool = false
Source§fn type_init(_type_: &mut InitializingType<Self>)
fn type_init(_type_: &mut InitializingType<Self>)
Source§fn with_class(_klass: &Self::Class) -> Self
fn with_class(_klass: &Self::Class) -> Self
Source§impl WidgetImpl for SubstringEntryRow
impl WidgetImpl for SubstringEntryRow
fn grab_focus(&self) -> bool
fn compute_expand(&self, hexpand: &mut bool, vexpand: &mut bool)
fn contains(&self, x: f64, y: f64) -> bool
fn direction_changed(&self, previous_direction: TextDirection)
fn focus(&self, direction_type: DirectionType) -> bool
fn request_mode(&self) -> SizeRequestMode
fn map(&self)
fn measure( &self, orientation: Orientation, for_size: i32, ) -> (i32, i32, i32, i32)
fn mnemonic_activate(&self, group_cycling: bool) -> bool
fn move_focus(&self, direction_type: DirectionType)
fn query_tooltip( &self, x: i32, y: i32, keyboard_tooltip: bool, tooltip: &Tooltip, ) -> bool
fn realize(&self)
fn root(&self)
fn set_focus_child(&self, child: Option<&Widget>)
fn size_allocate(&self, width: i32, height: i32, baseline: i32)
fn snapshot(&self, snapshot: &Snapshot)
fn state_flags_changed(&self, state_flags: &StateFlags)
fn system_setting_changed(&self, settings: &SystemSetting)
fn unmap(&self)
fn unrealize(&self)
fn unroot(&self)
impl PreferencesRowImpl for SubstringEntryRow
Auto Trait Implementations§
impl !Freeze for SubstringEntryRow
impl !RefUnwindSafe for SubstringEntryRow
impl !Send for SubstringEntryRow
impl !Sync for SubstringEntryRow
impl Unpin for SubstringEntryRow
impl UnwindSafe for SubstringEntryRow
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
Source§impl<T> CompositeTemplateDisposeExt for T
impl<T> CompositeTemplateDisposeExt for T
fn dispose_template(&self)
Source§impl<T> EditableImplExt for Twhere
T: EditableImpl,
impl<T> EditableImplExt for Twhere
T: EditableImpl,
fn delegate_get_property( &self, prop_id: usize, pspec: &ParamSpec, ) -> Option<Value>
fn delegate_set_property( &self, prop_id: usize, value: &Value, pspec: &ParamSpec, ) -> bool
fn parent_insert_text(&self, text: &str, length: i32, position: &mut i32)
fn parent_delete_text(&self, start_position: i32, end_position: i32)
fn parent_text(&self) -> GString
fn parent_delegate(&self) -> Option<Editable>
fn parent_changed(&self)
fn parent_do_insert_text(&self, text: &str, length: i32, position: &mut i32)
fn parent_do_delete_text(&self, start_position: i32, end_position: i32)
fn parent_selection_bounds(&self) -> Option<(i32, i32)>
fn parent_set_selection_bounds(&self, start_position: i32, end_position: i32)
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ListBoxRowImplExt for Twhere
T: ListBoxRowImpl,
impl<T> ListBoxRowImplExt for Twhere
T: ListBoxRowImpl,
fn parent_activate(&self)
Source§impl<T> ObjectImplExt for Twhere
T: ObjectImpl,
impl<T> ObjectImplExt for Twhere
T: ObjectImpl,
Source§fn parent_constructed(&self)
fn parent_constructed(&self)
glib::Object::constructed()
.Source§fn parent_notify(&self, pspec: &ParamSpec)
fn parent_notify(&self, pspec: &ParamSpec)
glib::Object::notify()
.Source§fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])
fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])
glib::Object::dispatch_properties_changed()
.Source§fn signal_chain_from_overridden(
&self,
token: &SignalClassHandlerToken,
values: &[Value],
) -> Option<Value>
fn signal_chain_from_overridden( &self, token: &SignalClassHandlerToken, values: &[Value], ) -> Option<Value>
Source§impl<T> ObjectSubclassExt for Twhere
T: ObjectSubclass,
impl<T> ObjectSubclassExt for Twhere
T: ObjectSubclass,
Source§fn instance(&self) -> BorrowedObject<'_, <T as ObjectSubclass>::Type>
fn instance(&self) -> BorrowedObject<'_, <T as ObjectSubclass>::Type>
Source§fn from_instance(obj: &<T as ObjectSubclass>::Type) -> &T
fn from_instance(obj: &<T as ObjectSubclass>::Type) -> &T
Source§fn obj(&self) -> BorrowedObject<'_, <T as ObjectSubclass>::Type>
fn obj(&self) -> BorrowedObject<'_, <T as ObjectSubclass>::Type>
Source§fn from_obj(obj: &<T as ObjectSubclass>::Type) -> &T
fn from_obj(obj: &<T as ObjectSubclass>::Type) -> &T
Source§fn ref_counted(&self) -> ObjectImplRef<T>
fn ref_counted(&self) -> ObjectImplRef<T>
self
.