Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A [classentryRow
] tailored for entering secrets.
<picture> <source srcset="password-entry-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="password-entry-row.png" alt="password-entry-row"> </picture>
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
Synopsis
- newtype PasswordEntryRow = PasswordEntryRow (ManagedPtr PasswordEntryRow)
- class (GObject o, IsDescendantOf PasswordEntryRow o) => IsPasswordEntryRow o
- toPasswordEntryRow :: (MonadIO m, IsPasswordEntryRow o) => o -> m PasswordEntryRow
- passwordEntryRowNew :: (HasCallStack, MonadIO m) => m PasswordEntryRow
Exported types
newtype PasswordEntryRow Source #
Memory-managed wrapper type.
PasswordEntryRow (ManagedPtr PasswordEntryRow) |
Instances
class (GObject o, IsDescendantOf PasswordEntryRow o) => IsPasswordEntryRow o Source #
Type class for types which can be safely cast to PasswordEntryRow
, for instance with toPasswordEntryRow
.
Instances
(GObject o, IsDescendantOf PasswordEntryRow o) => IsPasswordEntryRow o Source # | |
Defined in GI.Adw.Objects.PasswordEntryRow |
toPasswordEntryRow :: (MonadIO m, IsPasswordEntryRow o) => o -> m PasswordEntryRow Source #
Cast to PasswordEntryRow
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addPrefix, addSuffix, addTickCallback, allocate, bindProperty, bindPropertyFull, changed, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, deleteSelection, deleteText, disposeTemplate, dragCheckThreshold, errorBell, finishDelegate, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initDelegate, initTemplate, insertActionGroup, insertAfter, insertBefore, insertText, isAncestor, isDrawable, isFloating, isFocus, isSelected, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, pick, queueAllocate, queueDraw, queueResize, realize, ref, refSink, remove, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, selectRegion, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateProperty, updateRelation, updateState, watchClosure.
Getters
getAccessibleRole, getActionName, getActionTargetValue, getActivatable, getActivatesDefault, getAlignment, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getAttributes, getBuildableId, getCanFocus, getCanTarget, getChars, getChild, getChildVisible, getClipboard, getCssClasses, getCssName, getCursor, getData, getDelegate, getDirection, getDisplay, getEditable, getEnableEmojiCompletion, getEnableUndo, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHeader, getHeight, getHexpand, getHexpandSet, getIndex, getInputHints, getInputPurpose, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getMaxWidthChars, getName, getNative, getNextSibling, getOpacity, getOverflow, getPangoContext, getParent, getPosition, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSelectable, getSelectionBounds, getSensitive, getSettings, getShowApplyButton, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getText, getTitle, getTitleSelectable, getTooltipMarkup, getTooltipText, getUseMarkup, getUseUnderline, getValign, getVexpand, getVexpandSet, getVisible, getWidth, getWidthChars.
Setters
setActionName, setActionTargetValue, setActivatable, setActivatesDefault, setAlignment, setAttributes, setCanFocus, setCanTarget, setChild, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDetailedActionName, setDirection, setEditable, setEnableEmojiCompletion, setEnableUndo, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setHalign, setHasTooltip, setHeader, setHexpand, setHexpandSet, setInputHints, setInputPurpose, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setMaxWidthChars, setName, setOpacity, setOverflow, setParent, setPosition, setProperty, setReceivesDefault, setSelectable, setSensitive, setShowApplyButton, setSizeRequest, setStateFlags, setText, setTitle, setTitleSelectable, setTooltipMarkup, setTooltipText, setUseMarkup, setUseUnderline, setValign, setVexpand, setVexpandSet, setVisible, setWidthChars.
new
:: (HasCallStack, MonadIO m) | |
=> m PasswordEntryRow | Returns: the newly created |
Creates a new AdwPasswordEntryRow
.
Since: 1.2