EntryRow


Object Hierarchy:

Adw.EntryRow Adw.EntryRow Adw.EntryRow Adw.PreferencesRow Adw.PreferencesRow Adw.PreferencesRow->Adw.EntryRow Gtk.ListBoxRow Gtk.ListBoxRow Gtk.ListBoxRow->Adw.PreferencesRow Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.ListBoxRow GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.EntryRow Gtk.Accessible->Adw.PreferencesRow Gtk.Accessible->Gtk.ListBoxRow Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.EntryRow Gtk.Buildable->Adw.PreferencesRow Gtk.Buildable->Gtk.ListBoxRow Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.EntryRow Gtk.ConstraintTarget->Adw.PreferencesRow Gtk.ConstraintTarget->Gtk.ListBoxRow Gtk.ConstraintTarget->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Adw.EntryRow Gtk.Actionable->Adw.PreferencesRow Gtk.Actionable->Gtk.ListBoxRow Gtk.Editable Gtk.Editable Gtk.Editable->Adw.EntryRow

Description:

[ CCode ( type_id = "adw_entry_row_get_type ()" ) ]
[ Version ( since = "1.2" ) ]
public class EntryRow : PreferencesRow, Accessible, Actionable, Buildable, ConstraintTarget, Editable

A [class@Gtk.

ListBoxRow] with an embedded text entry.

<picture> <source srcset="entry-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="entry-row.png" alt="entry-row"> </picture>

`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 [property@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 [[email protected]] API.

See also [class@PasswordEntryRow].

AdwEntryRow as GtkBuildable

The `AdwEntryRow` implementation of the [[email protected]] 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.

CSS nodes

`AdwEntryRow` has a single CSS node with name `row` and the `.entry` style class.

All known sub-classes:

Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.ListBoxRow
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Actionable
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Editable



2022 vala-language.org