Interface

Gtk-4.0GtkEntryConstructorProps

interface ConstructorProps {
    accessible_role: Gtk.AccessibleRole;
    accessibleRole: Gtk.AccessibleRole;
    activates_default: boolean;
    activatesDefault: boolean;
    attributes: AttrList;
    buffer: Gtk.EntryBuffer;
    can_focus: boolean;
    can_target: boolean;
    canFocus: boolean;
    canTarget: boolean;
    completion: Gtk.EntryCompletion;
    css_classes: string[];
    css_name: string;
    cssClasses: string[];
    cssName: string;
    cursor: Gdk.Cursor;
    cursor_position: number;
    cursorPosition: number;
    editable: boolean;
    editing_canceled: boolean;
    editingCanceled: boolean;
    enable_emoji_completion: boolean;
    enable_undo: boolean;
    enableEmojiCompletion: boolean;
    enableUndo: boolean;
    extra_menu: Gio.MenuModel;
    extraMenu: Gio.MenuModel;
    focus_on_click: boolean;
    focusable: boolean;
    focusOnClick: boolean;
    halign: Gtk.Align;
    has_default: boolean;
    has_focus: boolean;
    has_frame: boolean;
    has_tooltip: boolean;
    hasDefault: boolean;
    hasFocus: boolean;
    hasFrame: boolean;
    hasTooltip: boolean;
    height_request: number;
    heightRequest: number;
    hexpand: boolean;
    hexpand_set: boolean;
    hexpandSet: boolean;
    im_module: string;
    imModule: string;
    input_hints: Gtk.InputHints;
    input_purpose: Gtk.InputPurpose;
    inputHints: Gtk.InputHints;
    inputPurpose: Gtk.InputPurpose;
    invisible_char: number;
    invisible_char_set: boolean;
    invisibleChar: number;
    invisibleCharSet: boolean;
    layout_manager: Gtk.LayoutManager;
    layoutManager: Gtk.LayoutManager;
    limit_events: boolean;
    limitEvents: boolean;
    margin_bottom: number;
    margin_end: number;
    margin_start: number;
    margin_top: number;
    marginBottom: number;
    marginEnd: number;
    marginStart: number;
    marginTop: number;
    max_length: number;
    max_width_chars: number;
    maxLength: number;
    maxWidthChars: number;
    menu_entry_icon_primary_text: string;
    menu_entry_icon_secondary_text: string;
    menuEntryIconPrimaryText: string;
    menuEntryIconSecondaryText: string;
    name: string;
    opacity: number;
    overflow: Gtk.Overflow;
    overwrite_mode: boolean;
    overwriteMode: boolean;
    parent: Gtk.Widget;
    placeholder_text: string;
    placeholderText: string;
    primary_icon_activatable: boolean;
    primary_icon_gicon: Gio.Icon;
    primary_icon_name: string;
    primary_icon_paintable: Gdk.Paintable;
    primary_icon_sensitive: boolean;
    primary_icon_storage_type: Gtk.ImageType;
    primary_icon_tooltip_markup: string;
    primary_icon_tooltip_text: string;
    primaryIconActivatable: boolean;
    primaryIconGicon: Gio.Icon;
    primaryIconName: string;
    primaryIconPaintable: Gdk.Paintable;
    primaryIconSensitive: boolean;
    primaryIconStorageType: Gtk.ImageType;
    primaryIconTooltipMarkup: string;
    primaryIconTooltipText: string;
    progress_fraction: number;
    progress_pulse_step: number;
    progressFraction: number;
    progressPulseStep: number;
    receives_default: boolean;
    receivesDefault: boolean;
    root: Gtk.Root;
    scale_factor: number;
    scaleFactor: number;
    scroll_offset: number;
    scrollOffset: number;
    secondary_icon_activatable: boolean;
    secondary_icon_gicon: Gio.Icon;
    secondary_icon_name: string;
    secondary_icon_paintable: Gdk.Paintable;
    secondary_icon_sensitive: boolean;
    secondary_icon_storage_type: Gtk.ImageType;
    secondary_icon_tooltip_markup: string;
    secondary_icon_tooltip_text: string;
    secondaryIconActivatable: boolean;
    secondaryIconGicon: Gio.Icon;
    secondaryIconName: string;
    secondaryIconPaintable: Gdk.Paintable;
    secondaryIconSensitive: boolean;
    secondaryIconStorageType: Gtk.ImageType;
    secondaryIconTooltipMarkup: string;
    secondaryIconTooltipText: string;
    selection_bound: number;
    selectionBound: number;
    sensitive: boolean;
    show_emoji_icon: boolean;
    showEmojiIcon: boolean;
    tabs: TabArray;
    text: string;
    text_length: number;
    textLength: number;
    tooltip_markup: string;
    tooltip_text: string;
    tooltipMarkup: string;
    tooltipText: string;
    truncate_multiline: boolean;
    truncateMultiline: boolean;
    valign: Gtk.Align;
    vexpand: boolean;
    vexpand_set: boolean;
    vexpandSet: boolean;
    visibility: boolean;
    visible: boolean;
    width_chars: number;
    width_request: number;
    widthChars: number;
    widthRequest: number;
    xalign: number;
}

Hierarchy (View Summary)

Index

Properties

Properties - Inherited from Gtk.Widget.ConstructorProps

Properties - Inherited from Gtk.Editable.ConstructorProps

Properties - Inherited from Gtk.CellEditable.ConstructorProps

Properties

activates_default: boolean
activatesDefault: boolean
attributes: AttrList
completion: Gtk.EntryCompletion
enable_emoji_completion: boolean
enableEmojiCompletion: boolean
extra_menu: Gio.MenuModel
extraMenu: Gio.MenuModel
has_frame: boolean
hasFrame: boolean
im_module: string
imModule: string
input_hints: Gtk.InputHints
input_purpose: Gtk.InputPurpose
inputHints: Gtk.InputHints
inputPurpose: Gtk.InputPurpose
invisible_char: number
invisible_char_set: boolean
invisibleChar: number
invisibleCharSet: boolean
max_length: number
maxLength: number

menu_entry_icon_primary_text

menu_entry_icon_primary_text: string

menu_entry_icon_secondary_text

menu_entry_icon_secondary_text: string
menuEntryIconPrimaryText: string
menuEntryIconSecondaryText: string
overwrite_mode: boolean
overwriteMode: boolean
placeholder_text: string
placeholderText: string
primary_icon_activatable: boolean
primary_icon_gicon: Gio.Icon
primary_icon_name: string
primary_icon_paintable: Gdk.Paintable
primary_icon_sensitive: boolean
primary_icon_storage_type: Gtk.ImageType
primary_icon_tooltip_markup: string
primary_icon_tooltip_text: string
primaryIconActivatable: boolean
primaryIconGicon: Gio.Icon
primaryIconName: string
primaryIconPaintable: Gdk.Paintable
primaryIconSensitive: boolean
primaryIconStorageType: Gtk.ImageType
primaryIconTooltipMarkup: string
primaryIconTooltipText: string
progress_fraction: number
progress_pulse_step: number
progressFraction: number
progressPulseStep: number
scroll_offset: number
scrollOffset: number
secondary_icon_activatable: boolean
secondary_icon_gicon: Gio.Icon
secondary_icon_name: string
secondary_icon_paintable: Gdk.Paintable
secondary_icon_sensitive: boolean
secondary_icon_storage_type: Gtk.ImageType
secondary_icon_tooltip_markup: string
secondary_icon_tooltip_text: string
secondaryIconActivatable: boolean
secondaryIconGicon: Gio.Icon
secondaryIconName: string
secondaryIconPaintable: Gdk.Paintable
secondaryIconSensitive: boolean
secondaryIconStorageType: Gtk.ImageType
secondaryIconTooltipMarkup: string
secondaryIconTooltipText: string
show_emoji_icon: boolean
showEmojiIcon: boolean
tabs: TabArray
text_length: number
textLength: number
truncate_multiline: boolean
truncateMultiline: boolean
visibility: boolean

Properties - Inherited from Gtk.Widget.ConstructorProps

accessible_role: Gtk.AccessibleRole
accessibleRole: Gtk.AccessibleRole
can_focus: boolean
can_target: boolean
canFocus: boolean
canTarget: boolean
css_classes: string[]
css_name: string
cssClasses: string[]
cssName: string
cursor: Gdk.Cursor
focus_on_click: boolean
focusable: boolean
focusOnClick: boolean
halign: Gtk.Align
has_default: boolean
has_focus: boolean
has_tooltip: boolean
hasDefault: boolean
hasFocus: boolean
hasTooltip: boolean
height_request: number
heightRequest: number
hexpand: boolean
hexpand_set: boolean
hexpandSet: boolean
layout_manager: Gtk.LayoutManager
layoutManager: Gtk.LayoutManager
limit_events: boolean
limitEvents: boolean
margin_bottom: number
margin_end: number
margin_start: number
margin_top: number
marginBottom: number
marginEnd: number
marginStart: number
marginTop: number
name: string
opacity: number
overflow: Gtk.Overflow
parent: Gtk.Widget
receives_default: boolean
receivesDefault: boolean
root: Gtk.Root
scale_factor: number
scaleFactor: number
sensitive: boolean
tooltip_markup: string
tooltip_text: string
tooltipMarkup: string
tooltipText: string
valign: Gtk.Align
vexpand: boolean
vexpand_set: boolean
vexpandSet: boolean
visible: boolean
width_request: number
widthRequest: number

Properties - Inherited from Gtk.Editable.ConstructorProps

cursor_position: number
cursorPosition: number
editable: boolean
enable_undo: boolean
enableUndo: boolean
max_width_chars: number
maxWidthChars: number
selection_bound: number
selectionBound: number
text: string
width_chars: number
widthChars: number
xalign: number

Properties - Inherited from Gtk.CellEditable.ConstructorProps

editing_canceled: boolean
editingCanceled: boolean