EntryPropertyName
public enum EntryPropertyName : String, PropertyNameProtocol
Undocumented
-
Undocumented
Declaration
Swift
case activatesDefault = "activates-default" -
Undocumented
Declaration
Swift
case appPaintable = "app-paintable" -
A list of Pango attributes to apply to the text of the entry.
This is mainly useful to change the size or weight of the text.
The
PangoAttribute‘sstart_indexandend_indexmust refer to theGtkEntryBuffertext, i.e. without the preedit string.Declaration
Swift
case attributes = "attributes" -
Undocumented
Declaration
Swift
case buffer = "buffer" -
Undocumented
Declaration
Swift
case canDefault = "can-default" -
Undocumented
Declaration
Swift
case canFocus = "can-focus" -
Whether password entries will show a warning when Caps Lock is on.
Note that the warning is shown using a secondary icon, and thus does not work if you are using the secondary icon position for some other purpose.
Declaration
Swift
case capsLockWarning = "caps-lock-warning" -
The auxiliary completion object to use with the entry.
Declaration
Swift
case completion = "completion" -
Undocumented
Declaration
Swift
case compositeChild = "composite-child" -
Undocumented
Declaration
Swift
case cursorPosition = "cursor-position" -
Whether the widget is double buffered.
double-buffered is deprecated: Widgets should not use this property.
Declaration
Swift
case doubleBuffered = "double-buffered" -
Undocumented
Declaration
Swift
case editable = "editable" -
Undocumented
Declaration
Swift
case enableEmojiCompletion = "enable-emoji-completion" -
Undocumented
Declaration
Swift
case events = "events" -
Whether to expand in both directions. Setting this sets both
GtkWidget:hexpandandGtkWidget:vexpandDeclaration
Swift
case expand = "expand" -
Whether the widget should grab focus when it is clicked with the mouse.
This property is only relevant for widgets that can take focus.
Before 3.20, several widgets (GtkButton, GtkFileChooserButton, GtkComboBox) implemented this property individually.
Declaration
Swift
case focusOnClick = "focus-on-click" -
How to distribute horizontal space if widget gets extra space, see
GtkAlignDeclaration
Swift
case halign = "halign" -
Undocumented
Declaration
Swift
case hasDefault = "has-default" -
Undocumented
Declaration
Swift
case hasFocus = "has-focus" -
Undocumented
Declaration
Swift
case hasFrame = "has-frame" -
Enables or disables the emission of
GtkWidget::query-tooltiponwidget. A value oftrueindicates thatwidgetcan have a tooltip, in this case the widget will be queried usingGtkWidget::query-tooltipto determine whether it will provide a tooltip or not.Note that setting this property to
truefor the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set tofalseagain.Declaration
Swift
case hasTooltip = "has-tooltip" -
Undocumented
Declaration
Swift
case heightRequest = "height-request" -
Whether to expand horizontally. See
gtk_widget_set_hexpand().Declaration
Swift
case hexpand = "hexpand" -
Whether to use the
GtkWidget:hexpandproperty. Seegtk_widget_get_hexpand_set().Declaration
Swift
case hexpandSet = "hexpand-set" -
Which IM (input method) module should be used for this entry. See
GtkIMContext.Setting this to a non-
nilvalue overrides the system-wide IM module setting. See the GtkSettingsGtkSettings:gtk-im-moduleproperty.Declaration
Swift
case imModule = "im-module" -
Sets the text area’s border between the text and the frame.
inner-border is deprecated: Use the standard border and padding CSS properties (through objects like #GtkStyleContext and #GtkCssProvider); the value of this style property is ignored.
Declaration
Swift
case innerBorder = "inner-border" -
Additional hints (beyond
GtkEntry:input-purpose) that allow input methods to fine-tune their behaviour.Declaration
Swift
case inputHints = "input-hints" -
The purpose of this text field.
This property can be used by on-screen keyboards and other input methods to adjust their behaviour.
Note that setting the purpose to
GTK_INPUT_PURPOSE_PASSWORDorGTK_INPUT_PURPOSE_PINis independent from settingGtkEntry:visibility.Declaration
Swift
case inputPurpose = "input-purpose" -
The invisible character is used when masking entry contents (in \“password mode\”)“). When it is not explicitly set with the
GtkEntry:invisible-charproperty, GTK+ determines the character to use from a list of possible candidates, depending on availability in the current font.This style property allows the theme to prepend a character to the list of candidates.
Declaration
Swift
case invisibleChar = "invisible-char" -
Whether the invisible char has been set for the
GtkEntry.Declaration
Swift
case invisibleCharSet = "invisible-char-set" -
Undocumented
Declaration
Swift
case isFocus = "is-focus" -
Sets all four sides’ margin at once. If read, returns max margin on any side.
Declaration
Swift
case margin = "margin" -
Margin on bottom side of widget.
This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from
gtk_widget_set_size_request()for example.Declaration
Swift
case marginBottom = "margin-bottom" -
Margin on end of widget, horizontally. This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from
gtk_widget_set_size_request()for example.Declaration
Swift
case marginEnd = "margin-end" -
Margin on left side of widget.
This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from
gtk_widget_set_size_request()for example.margin-left is deprecated: Use #GtkWidget:margin-start instead.
Declaration
Swift
case marginLeft = "margin-left" -
Margin on right side of widget.
This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from
gtk_widget_set_size_request()for example.margin-right is deprecated: Use #GtkWidget:margin-end instead.
Declaration
Swift
case marginRight = "margin-right" -
Margin on start of widget, horizontally. This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from
gtk_widget_set_size_request()for example.Declaration
Swift
case marginStart = "margin-start" -
Margin on top side of widget.
This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from
gtk_widget_set_size_request()for example.Declaration
Swift
case marginTop = "margin-top" -
Undocumented
Declaration
Swift
case maxLength = "max-length" -
The desired maximum width of the entry, in characters. If this property is set to -1, the width will be calculated automatically.
Declaration
Swift
case maxWidthChars = "max-width-chars" -
Undocumented
Declaration
Swift
case name = "name" -
Undocumented
Declaration
Swift
case noShowAll = "no-show-all" -
The requested opacity of the widget. See
gtk_widget_set_opacity()for more details about window opacity.Before 3.8 this was only available in GtkWindow
Declaration
Swift
case opacity = "opacity" -
If text is overwritten when typing in the
GtkEntry.Declaration
Swift
case overwriteMode = "overwrite-mode" -
Undocumented
Declaration
Swift
case parent = "parent" -
The text that will be displayed in the
GtkEntrywhen it is empty and unfocused.Declaration
Swift
case placeholderText = "placeholder-text" -
If :populate-all is
true, theGtkEntry::populate-popupsignal is also emitted for touch popups.Declaration
Swift
case populateAll = "populate-all" -
Whether the primary icon is activatable.
GTK+ emits the
GtkEntry::icon-pressandGtkEntry::icon-releasesignals only on sensitive, activatable icons.Sensitive, but non-activatable icons can be used for purely informational purposes.
Declaration
Swift
case primaryIconActivatable = "primary-icon-activatable" -
The
GIconto use for the primary icon for the entry.Declaration
Swift
case primaryIconIcon = "primary-icon-gicon" -
The icon name to use for the primary icon for the entry.
Declaration
Swift
case primaryIconName = "primary-icon-name" -
A pixbuf to use as the primary icon for the entry.
Declaration
Swift
case primaryIconPixbuf = "primary-icon-pixbuf" -
Whether the primary icon is sensitive.
An insensitive icon appears grayed out. GTK+ does not emit the
GtkEntry::icon-pressandGtkEntry::icon-releasesignals and does not allow DND from insensitive icons.An icon should be set insensitive if the action that would trigger when clicked is currently not available.
Declaration
Swift
case primaryIconSensitive = "primary-icon-sensitive" -
The stock id to use for the primary icon for the entry.
primary-icon-stock is deprecated: Use #GtkEntry:primary-icon-name instead.
Declaration
Swift
case primaryIconStock = "primary-icon-stock" -
The representation which is used for the primary icon of the entry.
Declaration
Swift
case primaryIconStorageType = "primary-icon-storage-type" -
The contents of the tooltip on the primary icon, which is marked up with the Pango text markup language.
Also see
gtk_entry_set_icon_tooltip_markup().Declaration
Swift
case primaryIconTooltipMarkup = "primary-icon-tooltip-markup" -
The contents of the tooltip on the primary icon.
Also see
gtk_entry_set_icon_tooltip_text().Declaration
Swift
case primaryIconTooltipText = "primary-icon-tooltip-text" -
The current fraction of the task that’s been completed.
Declaration
Swift
case progressFraction = "progress-fraction" -
The fraction of total entry width to move the progress bouncing block for each call to
gtk_entry_progress_pulse().Declaration
Swift
case progressPulseStep = "progress-pulse-step" -
Undocumented
Declaration
Swift
case receivesDefault = "receives-default" -
The scale factor of the widget. See
gtk_widget_get_scale_factor()for more details about widget scaling.Declaration
Swift
case scaleFactor = "scale-factor" -
Undocumented
Declaration
Swift
case scrollOffset = "scroll-offset" -
Whether the secondary icon is activatable.
GTK+ emits the
GtkEntry::icon-pressandGtkEntry::icon-releasesignals only on sensitive, activatable icons.Sensitive, but non-activatable icons can be used for purely informational purposes.
Declaration
Swift
case secondaryIconActivatable = "secondary-icon-activatable" -
The
GIconto use for the secondary icon for the entry.Declaration
Swift
case secondaryIconIcon = "secondary-icon-gicon" -
The icon name to use for the secondary icon for the entry.
Declaration
Swift
case secondaryIconName = "secondary-icon-name" -
An pixbuf to use as the secondary icon for the entry.
Declaration
Swift
case secondaryIconPixbuf = "secondary-icon-pixbuf" -
Whether the secondary icon is sensitive.
An insensitive icon appears grayed out. GTK+ does not emit the
GtkEntry::icon-pressandGtkEntry::icon-releasesignals and does not allow DND from insensitive icons.An icon should be set insensitive if the action that would trigger when clicked is currently not available.
Declaration
Swift
case secondaryIconSensitive = "secondary-icon-sensitive" -
The stock id to use for the secondary icon for the entry.
secondary-icon-stock is deprecated: Use #GtkEntry:secondary-icon-name instead.
Declaration
Swift
case secondaryIconStock = "secondary-icon-stock" -
The representation which is used for the secondary icon of the entry.
Declaration
Swift
case secondaryIconStorageType = "secondary-icon-storage-type" -
The contents of the tooltip on the secondary icon, which is marked up with the Pango text markup language.
Also see
gtk_entry_set_icon_tooltip_markup().Declaration
Swift
case secondaryIconTooltipMarkup = "secondary-icon-tooltip-markup" -
The contents of the tooltip on the secondary icon.
Also see
gtk_entry_set_icon_tooltip_text().Declaration
Swift
case secondaryIconTooltipText = "secondary-icon-tooltip-text" -
Undocumented
Declaration
Swift
case selectionBound = "selection-bound" -
Undocumented
Declaration
Swift
case sensitive = "sensitive" -
Which kind of shadow to draw around the entry when
GtkEntry:has-frameis set totrue.shadow-type is deprecated: Use CSS to determine the style of the border; the value of this style property is ignored.
Declaration
Swift
case shadowType = "shadow-type" -
Undocumented
Declaration
Swift
case showEmojiIcon = "show-emoji-icon" -
The style of the widget, which contains information about how it will look (colors, etc).
style is deprecated: Use #GtkStyleContext instead
Declaration
Swift
case style = "style" -
Undocumented
Declaration
Swift
case tabs = "tabs" -
Undocumented
Declaration
Swift
case text = "text" -
The length of the text in the
GtkEntry.Declaration
Swift
case textLength = "text-length" -
Sets the text of tooltip to be the given string, which is marked up with the Pango text markup language. Also see
gtk_tooltip_set_markup().This is a convenience property which will take care of getting the tooltip shown if the given string is not
nil:GtkWidget:has-tooltipwill automatically be set totrueand there will be taken care ofGtkWidget::query-tooltipin the default signal handler.Note that if both
GtkWidget:tooltip-textandGtkWidget:tooltip-markupare set, the last one wins.Declaration
Swift
case tooltipMarkup = "tooltip-markup" -
Sets the text of tooltip to be the given string.
Also see
gtk_tooltip_set_text().This is a convenience property which will take care of getting the tooltip shown if the given string is not
nil:GtkWidget:has-tooltipwill automatically be set totrueand there will be taken care ofGtkWidget::query-tooltipin the default signal handler.Note that if both
GtkWidget:tooltip-textandGtkWidget:tooltip-markupare set, the last one wins.Declaration
Swift
case tooltipText = "tooltip-text" -
When
true, pasted multi-line text is truncated to the first line.Declaration
Swift
case truncateMultiline = "truncate-multiline" -
How to distribute vertical space if widget gets extra space, see
GtkAlignDeclaration
Swift
case valign = "valign" -
Whether to expand vertically. See
gtk_widget_set_vexpand().Declaration
Swift
case vexpand = "vexpand" -
Whether to use the
GtkWidget:vexpandproperty. Seegtk_widget_get_vexpand_set().Declaration
Swift
case vexpandSet = "vexpand-set" -
Undocumented
Declaration
Swift
case visibility = "visibility" -
Undocumented
Declaration
Swift
case visible = "visible" -
Undocumented
Declaration
Swift
case widthChars = "width-chars" -
Undocumented
Declaration
Swift
case widthRequest = "width-request" -
The widget’s window if it is realized,
nilotherwise.Declaration
Swift
case window = "window" -
The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
Declaration
Swift
case xalign = "xalign"
View on GitHub
Install in Dash
EntryPropertyName Enumeration Reference