Class
AdwEntryRow
Description [src]
class Adw.EntryRow : Adw.PreferencesRow {
parent_instance: 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 AdwEntryRow: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 AdwPasswordEntryRow
.
AdwEntryRow as GtkBuildable
The AdwEntryRow
implementation of the GtkBuildable
interface
supports adding a child at its end by specifying “suffix” or omitting the
“type” attribute of a
It also supports adding a child as a prefix widget by specifying “prefix” as
the “type” attribute of a
CSS nodes
AdwEntryRow
has a single CSS node with name row
and the .entry
style class.
Available since: | 1.2 |
Ancestors
- AdwPreferencesRow
- GtkListBoxRow
- GtkWidget
- GInitiallyUnowned
- GObject
Instance methods
adw_entry_row_get_activates_default
Gets whether activating the embedded entry can activate the default widget.
Available since: 1.2
adw_entry_row_get_attributes
Gets Pango attributes applied to the text of the embedded entry.
Available since: 1.2
adw_entry_row_get_enable_emoji_completion
Gets whether to suggest emoji replacements on self
.
Available since: 1.2
adw_entry_row_get_show_apply_button
Gets whether self
can show the apply button.
Available since: 1.2
adw_entry_row_grab_focus_without_selecting
Causes self
to have keyboard focus without selecting the text.
Available since: 1.3
adw_entry_row_set_activates_default
Sets whether activating the embedded entry can activate the default widget.
Available since: 1.2
adw_entry_row_set_attributes
Sets Pango attributes to apply to the text of the embedded entry.
Available since: 1.2
adw_entry_row_set_enable_emoji_completion
Sets whether to suggest emoji replacements on self
.
Available since: 1.2
adw_entry_row_set_show_apply_button
Sets whether self
can show the apply button.
Available since: 1.2
Methods inherited from AdwPreferencesRow (8)
adw_preferences_row_get_title
Gets the title of the preference represented by self
.
adw_preferences_row_get_title_selectable
Gets whether the user can copy the title from the label.
Available since: 1.1
adw_preferences_row_get_use_markup
Gets whether to use Pango markup for the title label.
Available since: 1.2
adw_preferences_row_get_use_underline
Gets whether an embedded underline in the title indicates a mnemonic.
adw_preferences_row_set_title
Sets the title of the preference represented by self
.
adw_preferences_row_set_title_selectable
Sets whether the user can copy the title from the label.
Available since: 1.1
adw_preferences_row_set_use_markup
Sets whether to use Pango markup for the title label.
Available since: 1.2
adw_preferences_row_set_use_underline
Sets whether an embedded underline in the title indicates a mnemonic.
Properties
Adw.EntryRow:activates-default
Whether activating the embedded entry can activate the default widget.
Available since: 1.2
Adw.EntryRow:attributes
A list of Pango attributes to apply to the text of the embedded entry.
Available since: 1.2
Adw.EntryRow:enable-emoji-completion
Whether to suggest emoji replacements on the entry row.
Available since: 1.2
Properties inherited from AdwPreferencesRow (4)
Adw.PreferencesRow:title
The title of the preference represented by this row.
Adw.PreferencesRow:title-selectable
Whether the user can copy the title from the label.
Available since: 1.1
Adw.PreferencesRow:use-markup
Whether to use Pango markup for the title label.
Available since: 1.2
Adw.PreferencesRow:use-underline
Whether an embedded underline in the title indicates a mnemonic.