| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
GTK2
GTK2.Entry

# Method GTK2.Entry()->set_width_chars()

Method set_width_chars

  `GTK2.Entry set_width_chars(int n_chars)`

Description

  changes the size request of the entry to be about the right size for n_chars characters. Note that it changes the size request, the size can still be affected by how you pack the widget into containers. If n_chars is -1, the size reverts to the default entry size.