It derives from <AdwPreferencesRow>.
A <GtkListBoxRow> with an embedded text
entry.
<AdwEntryRow> has a title that doubles as
placeholder text. It shows an icon indicating that it’s editable and
can receive additional widgets before or after the editable part.
If EntryRow:show-apply-button is set to TRUE,
<AdwEntryRow> can show an apply button when
editing its contents. This can be useful if changing its contents can
result in an expensive operation, such as network activity.
<AdwEntryRow> provides only minimal API and
should be used with the <GtkEditable> API.
See also PasswordEntryRow.
The <AdwEntryRow> implementation of the
<GtkBuildable> interface supports adding a
child at its end by specifying “suffix” or omitting the “type” attribute
of a <child> element.
It also supports adding a child as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.
<AdwEntryRow> has a single CSS node with name
row and the .entry style class.
parent-instanceWhether activating the embedded entry can activate the default widget.
Its value is a boolean.
Set it with (set! (entry-row:activates-default self) value).
A list of Pango attributes to apply to the text of the embedded entry.
The <PangoAttribute>’s start_index
and end_index must refer to the
<GtkEntryBuffer> text, i.e. without the
preedit string.
Its value is a <PangoAttrList>, or
#f.
Set it with (set! (entry-row:attributes self) value).
Whether to suggest emoji replacements on the entry row.
Emoji replacement is done with :-delimited names, like :heart:.
Its value is a boolean.
Set it with (set! (entry-row:enable-emoji-completion self)
value).
Additional input hints for the entry row.
Input hints allow input methods to fine-tune their behavior.
See also: entry-row:input-purpose
Its value is a <GtkInputHints> (or, to set
it, a list of its symbols, or one of them).
Set it with (set! (entry-row:input-hints self) value).
The input purpose of the entry row.
The input purpose can be used by input methods to adjust their behavior.
Its value is a <GtkInputPurpose> (or, to
set it, one of its symbols).
Set it with (set! (entry-row:input-purpose self) value).
Maximum number of characters for the entry.
Its value is a 32-bit integer.
Set it with (set! (entry-row:max-length self) value).
Whether to show the apply button.
When set to TRUE, typing text in the entry will reveal an apply
button. Clicking it or pressing the Enter key will hide the
button and emit the "apply" signal.
This is useful if changing the entry contents can trigger an expensive operation, e.g. network activity, to avoid triggering it after typing every character.
Its value is a boolean.
Set it with (set! (entry-row:show-apply-button self) value).
The length of the text in the entry row.
Its value is an unsigned 32-bit integer.
It is read only.
Adds a prefix widget to self.
Passed: a <AdwEntryRow>.
an entry row
Passed: a <GtkWidget>.
a widget
Adds a suffix widget to self.
Passed: a <AdwEntryRow>.
an entry row
Passed: a <GtkWidget>.
a widget
Gets whether activating the embedded entry can activate the default widget.
Passed: a <AdwEntryRow>.
an entry row
Returned: a boolean.
whether to activate the default widget
Gets Pango attributes applied to the text of the embedded entry.
Passed: a <AdwEntryRow>.
an entry row
Returned: a <PangoAttrList>, or #f.
the list of attributes
Gets whether to suggest emoji replacements on self.
Passed: a <AdwEntryRow>.
an entry row
Returned: a boolean.
whether or not emoji completion is enabled
Gets the additional input hints of self.
Passed: a <AdwEntryRow>.
an entry row
Returned: a <GtkInputHints>.
The input hints
Gets the input purpose of self.
Passed: a <AdwEntryRow>.
an entry row
Returned: a <GtkInputPurpose>.
the input purpose
Retrieves the maximum length of the entry.
Passed: a <AdwEntryRow>.
an entry row
Returned: a 32-bit integer.
The maximum length of the entry.
Gets whether self can show the apply button.
Passed: a <AdwEntryRow>.
an entry row
Returned: a boolean.
whether to show the apply button
Retrieves the current length of the text in self.
Passed: a <AdwEntryRow>.
an entry row
Returned: an unsigned 32-bit integer.
The current number of characters in self, or 0 if there are none.
Causes self to have keyboard focus without selecting the text.
See text:grab-focus-without-selecting?
for more information.
Passed: a <AdwEntryRow>.
an entry row
Returned: a boolean.
whether the focus is now inside self
Creates a new <AdwEntryRow>.
Returned: a <GtkWidget>.
the newly created <AdwEntryRow>
Removes a child from self.
Passed: a <AdwEntryRow>.
an entry row
Passed: a <GtkWidget>.
the child to be removed
Sets whether activating the embedded entry can activate the default widget.
Passed: a <AdwEntryRow>.
an entry row
Passed: a boolean.
whether to activate the default widget
Sets Pango attributes to apply to the text of the embedded entry.
The <PangoAttribute>’s start_index
and end_index must refer to the
<GtkEntryBuffer> text, i.e. without the
preedit string.
Passed: a <AdwEntryRow>.
an entry row
Passed, or left out: a <PangoAttrList>, or
#f.
a list of attributes
Sets whether to suggest emoji replacements on self.
Emoji replacement is done with :-delimited names, like :heart:.
Passed: a <AdwEntryRow>.
an entry row
Passed: a boolean.
Whether emoji completion should be enabled or not
Set additional input hints for self.
Input hints allow input methods to fine-tune their behavior.
See also: AdwEntryRow:input-purpose
Passed: a <AdwEntryRow>.
an entry row
Passed: a <GtkInputHints>, or a list of its
symbols, or one of them.
the hints
Sets the input purpose of self.
The input purpose can be used by input methods to adjust their behavior.
Passed: a <AdwEntryRow>.
an entry row
Passed: a <GtkInputPurpose>, or one of
its symbols.
the purpose
Sets the maximum length of the entry.
Passed: a <AdwEntryRow>.
an entry row
Passed: a 32-bit integer.
maximum length of the entry
Sets whether self can show the apply button.
When set to TRUE, typing text in the entry will reveal an apply
button. Clicking it or pressing the Enter key will hide the
button and emit the "apply" signal.
This is useful if changing the entry contents can trigger an expensive operation, e.g. network activity, to avoid triggering it after typing every character.
Passed: a <AdwEntryRow>.
an entry row
Passed: a boolean.
whether to show the apply button
Connect a handler with (connect object entry-row:apply handler).
It is called as (handler self).
Emitted when the apply button is pressed.
See EntryRow:show-apply-button.
Passed: a <AdwEntryRow>.
Connect a handler with (connect object entry-row:entry-activated
handler). It is called as (handler self).
Emitted when the embedded entry is activated.
Passed: a <AdwEntryRow>.