EntryRow

open class EntryRow(val adwEntryRowPointer: <Error class: unknown class><<Error class: unknown class>>) : PreferencesRow

A class@Gtk.ListBoxRow with an embedded text entry.

entry-row

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 iface@Gtk.Editable API.

See also class@PasswordEntryRow.

AdwEntryRow as GtkBuildable

The AdwEntryRow implementation of the iface@Gtk.Buildable interface supports adding a child at its end by specifying “suffix” or omitting the “type” attribute of a element.

It also supports adding a child as a prefix widget by specifying “prefix” as the “type” attribute of a element.

CSS nodes

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

Since

1.2

Inheritors

Constructors

Link copied to clipboard
constructor()

Creates a new AdwEntryRow.

constructor(adwEntryRowPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether activating the embedded entry can activate the default widget.

Link copied to clipboard
val adwEntryRowPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val adwPreferencesRowPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var attributes: <Error class: unknown class>?

A list of Pango attributes to apply to the text of the embedded entry.

Link copied to clipboard

Whether to suggest emoji replacements on the entry row.

Link copied to clipboard
open override val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkActionablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkEditablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var inputHints: <Error class: unknown class>

Additional input hints for the entry row.

Link copied to clipboard
open var inputPurpose: <Error class: unknown class>

The input purpose of the entry row.

Link copied to clipboard
open var maxLength: <Error class: unknown class>

Maximum number of characters for the entry.

Link copied to clipboard

Whether to show the apply button.

Link copied to clipboard
open val textLength: <Error class: unknown class>

The length of the text in the entry row.

Link copied to clipboard
open var title: String

The title of the preference represented by this row.

Link copied to clipboard

Whether the user can copy the title from the label.

Link copied to clipboard
open var useMarkup: Boolean

Whether to use Pango markup for the title label.

Link copied to clipboard

Whether an embedded underline in the title indicates a mnemonic.

Functions

Link copied to clipboard
open fun addPrefix(widget: <Error class: unknown class>)

Adds a prefix widget to @self.

Link copied to clipboard
open fun addSuffix(widget: <Error class: unknown class>)

Adds a suffix widget to @self.

Link copied to clipboard
fun emitApply()

Emits the "apply" signal. See onApply.

Link copied to clipboard

Emits the "entry-activated" signal. See onEntryActivated.

Link copied to clipboard

Causes @self to have keyboard focus without selecting the text.

Link copied to clipboard
fun onApply(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

Emitted when the apply button is pressed.

Link copied to clipboard
fun onEntryActivated(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

Emitted when the embedded entry is activated.

Link copied to clipboard
open fun remove(widget: <Error class: unknown class>)

Removes a child from @self.