PasswordEntryRow

class PasswordEntryRow(pointer: <Error class: unknown class><<Error class: unknown class>>) : EntryRow

A class@EntryRow tailored for entering secrets.

password-entry-row

It does not show its contents in clear text, does not allow to copy it to the clipboard, and shows a warning when Caps Lock is engaged. If the underlying platform allows it, AdwPasswordEntryRow will also place the text in a non-pageable memory area, to avoid it being written out to disk by the operating system.

It offer a way to reveal the contents in clear text.

CSS Nodes

AdwPasswordEntryRow has a single CSS node with name row that carries .entry and .password style classes.

Since

1.2

Constructors

Link copied to clipboard
constructor()

Creates a new AdwPasswordEntryRow.

constructor(pointer: <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 adwPasswordEntryRowPointer: <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 override 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: Int

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 connectApply(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 connectEntryActivated(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

Emitted when the embedded entry is activated.

Link copied to clipboard

Gets whether activating the embedded entry can activate the default widget.

Link copied to clipboard
open fun getAttributes(): <Error class: unknown class>?

Gets Pango attributes applied to the text of the embedded entry.

Link copied to clipboard

Gets whether to suggest emoji replacements on @self.

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

Gets the additional input hints of @self.

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

Gets the input purpose of @self.

Link copied to clipboard
open fun getMaxLength(): Int

Retrieves the maximum length of the entry.

Link copied to clipboard

Gets whether @self can show the apply button.

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

Retrieves the current length of the text in @self.

Link copied to clipboard
open fun getTitle(): String

Gets the title of the preference represented by @self.

Link copied to clipboard

Gets whether the user can copy the title from the label

Link copied to clipboard
open fun getUseMarkup(): Boolean

Gets whether to use Pango markup for the title label.

Link copied to clipboard

Gets whether an embedded underline in the title indicates a mnemonic.

Link copied to clipboard

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

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

Removes a child from @self.

Link copied to clipboard
open fun setActivatesDefault(activates: Boolean)

Sets whether activating the embedded entry can activate the default widget.

Link copied to clipboard
open fun setAttributes(attributes: <Error class: unknown class>? = null)

Sets Pango attributes to apply to the text of the embedded entry.

Link copied to clipboard
open fun setEnableEmojiCompletion(enableEmojiCompletion: Boolean)

Sets whether to suggest emoji replacements on @self.

Link copied to clipboard
open fun setInputHints(hints: <Error class: unknown class>)

Set additional input hints for @self.

Link copied to clipboard
open fun setInputPurpose(purpose: <Error class: unknown class>)

Sets the input purpose of @self.

Link copied to clipboard
open fun setMaxLength(maxLength: Int)

Sets the maximum length of the entry.

Link copied to clipboard
open fun setShowApplyButton(showApplyButton: Boolean)

Sets whether @self can show the apply button.

Link copied to clipboard
open fun setTitle(title: String)

Sets the title of the preference represented by @self.

Link copied to clipboard
open fun setTitleSelectable(titleSelectable: Boolean)

Sets whether the user can copy the title from the label

Link copied to clipboard
open fun setUseMarkup(useMarkup: Boolean)

Sets whether to use Pango markup for the title label.

Link copied to clipboard
open fun setUseUnderline(useUnderline: Boolean)

Sets whether an embedded underline in the title indicates a mnemonic.