5.15 Numberentry widget

5.15.1 Description

A numberentry is a widget that displays a one-line text string and allows that string to be edited. The string can contains only integer values between a defined range. Small arrows allow the user to modify the value of the integer with the mouse. A portion of the entry may be selected as described below. If an entry is exporting its selection (see the exportselection option), then it will observe the standard X11 protocols for handling the selection. When an entry has the input focus it displays an insertion cursor to indicate where new characters will be inserted.

Number entries are capable of displaying strings that are too long to fit entirely within the widget's window. In this case, only a portion of the string will be displayed; commands described below may be used to change the view in the window. Entries use the standard lrscrollbar mechanism. They also support scanning, as described below.

Indices

Many of the widget methods for entry take one or more indices as arguments. An index specifies a particular character of the entry, in any of the following ways:

5.15.2 Parameters

5.15.3 Interface

The object you get by an handle on the widget implements the following methods :


Donatien Grolaux
Version 1.2.3 (20011129)