# Class GTK2.Entry

Inheritance graph

Description

  Use this widget when you want the user to input a single line of text. `GTK2.Entry()->set_text("Hello world")->set_editable(1)`

  Properties: int activates-default int cursor-position int editable int has-frame int inner-border int invisible-char int max-length int scroll-offset int selection-bound int shadow-type string text int truncate-multiline int visibility int width-chars float xalign

  Style properties:

  Signals: activate

  backspace

  copy_clipboard

  cut_clipboard

  delete_from_cursor

  insert_at_cursor

  move_cursor

  paste_clipboard

  populate_popup

  toggle_overwrite

Inherit CellEditable

  `inherit GTK2.CellEditable : CellEditable`

Inherit Editable

  `inherit GTK2.Editable : Editable`

Inherit Widget

  `inherit GTK2.Widget : Widget`

Method create

  `GTK2.Entry GTK2.Entry(`int`|`mapping` `maxlen_or_props`)`

Description

  Create a new W(Entry) widget.