gi-adwaita-1.0.3: Adwaita bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Adw.Objects.PasswordEntryRow

Description

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

Exported types

newtype PasswordEntryRow Source #

Memory-managed wrapper type.

Constructors

PasswordEntryRow (ManagedPtr PasswordEntryRow) 

Instances

Instances details
Eq PasswordEntryRow Source # 
Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

GObject PasswordEntryRow Source # 
Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

ManagedPtrNewtype PasswordEntryRow Source # 
Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

TypedObject PasswordEntryRow Source # 
Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

Methods

glibType :: IO GType

HasParentTypes PasswordEntryRow Source # 
Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

IsGValue (Maybe PasswordEntryRow) Source #

Convert PasswordEntryRow to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe PasswordEntryRow -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe PasswordEntryRow)

type ParentTypes PasswordEntryRow Source # 
Instance details

Defined in GI.Adw.Objects.PasswordEntryRow

type ParentTypes PasswordEntryRow = '[EntryRow, PreferencesRow, ListBoxRow, Widget, Object, Accessible, Actionable, Buildable, ConstraintTarget, Editable]

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

Instances details
(GObject o, IsDescendantOf PasswordEntryRow o) => IsPasswordEntryRow o Source # 
Instance details

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

Expand

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

passwordEntryRowNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m PasswordEntryRow

Returns: the newly created AdwPasswordEntryRow

Creates a new AdwPasswordEntryRow.

Since: 1.2