Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

activatesDefault?: boolean
appPaintable?: boolean
buffer?: Gtk.EntryBuffer
canDefault?: boolean
canFocus?: boolean
capsLockWarning?: boolean

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.

doubleBuffered?: boolean

Whether or not the widget is double buffered.

editable?: boolean
editingCanceled?: boolean

Indicates whether editing on the cell has been canceled.

events?: Gdk.EventMask
extensionEvents?: ExtensionMode
hasDefault?: boolean
hasFocus?: boolean
hasFrame?: boolean
hasTooltip?: boolean

Enables or disables the emission of #GtkWidget::query-tooltip on widget. A value of %TRUE indicates that widget can have a tooltip, in this case the widget will be queried using #GtkWidget::query-tooltip to determine whether it will provide a tooltip or not.

Note that setting this property to %TRUE for 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 to %FALSE again.

heightRequest?: number
imModule?: string

Which IM (input method) module should be used for this entry. See #GtkIMContext.

Setting this to a non-%NULL value overrides the system-wide IM module setting. See the GtkSettings #GtkSettings:gtk-im-module property.

innerBorder?: Gtk.Border

Sets the text area's border between the text and the frame.

invisibleChar?: number

The invisible character is used when masking entry contents (in "password mode")"). When it is not explicitly set with the #GtkEntry::invisible-char property, 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.

invisibleCharSet?: boolean

Whether the invisible char has been set for the #GtkEntry.

isFocus?: boolean
maxLength?: number
name?: string
noShowAll?: boolean
overwriteMode?: boolean

If text is overwritten when typing in the #GtkEntry.

parent?: Gtk.Container
primaryIconActivatable?: boolean

Whether the primary icon is activatable.

GTK+ emits the #GtkEntry::icon-press and #GtkEntry::icon-release signals only on sensitive, activatable icons.

Sensitive, but non-activatable icons can be used for purely informational purposes.

primaryIconGicon?: Gio.Icon

The #GIcon to use for the primary icon for the entry.

primaryIconName?: string

The icon name to use for the primary icon for the entry.

primaryIconPixbuf?: Pixbuf

A pixbuf to use as the primary icon for the entry.

primaryIconSensitive?: boolean

Whether the primary icon is sensitive.

An insensitive icon appears grayed out. GTK+ does not emit the #GtkEntry::icon-press and #GtkEntry::icon-release signals 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.

primaryIconStock?: string

The stock id to use for the primary icon for the entry.

primaryIconTooltipMarkup?: string

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().

primaryIconTooltipText?: string

The contents of the tooltip on the primary icon.

Also see gtk_entry_set_icon_tooltip_text().

progressFraction?: number

The current fraction of the task that's been completed.

progressPulseStep?: number

The fraction of total entry width to move the progress bouncing block for each call to gtk_entry_progress_pulse().

receivesDefault?: boolean
secondaryIconActivatable?: boolean

Whether the secondary icon is activatable.

GTK+ emits the #GtkEntry::icon-press and #GtkEntry::icon-release signals only on sensitive, activatable icons.

Sensitive, but non-activatable icons can be used for purely informational purposes.

secondaryIconGicon?: Gio.Icon

The #GIcon to use for the secondary icon for the entry.

secondaryIconName?: string

The icon name to use for the secondary icon for the entry.

secondaryIconPixbuf?: Pixbuf

An pixbuf to use as the secondary icon for the entry.

secondaryIconSensitive?: boolean

Whether the secondary icon is sensitive.

An insensitive icon appears grayed out. GTK+ does not emit the #GtkEntry::icon-press and #GtkEntry::icon-release signals 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.

secondaryIconStock?: string

The stock id to use for the secondary icon for the entry.

secondaryIconTooltipMarkup?: string

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().

secondaryIconTooltipText?: string

The contents of the tooltip on the secondary icon.

Also see gtk_entry_set_icon_tooltip_text().

sensitive?: boolean
shadowType?: Gtk.ShadowType

Which kind of shadow to draw around the entry when #GtkEntry:has-frame is set to %TRUE.

style?: Gtk.Style
text?: string
tooltipMarkup?: string

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 %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

tooltipText?: string

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 %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

truncateMultiline?: boolean

When %TRUE, pasted multi-line text is truncated to the first line.

userData?: object
visibility?: boolean
visible?: boolean
widthChars?: number
widthRequest?: number
xalign?: number

The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method