OS.gtk_entry_set_max_length (entryHandle, limit);
if (entryHandle != 0) OS.gtk_entry_set_max_length (entryHandle, limit);
public void setTextLimit (int limit) {	checkWidget();	if (limit == 0) error (SWT.ERROR_CANNOT_BE_ZERO);	OS.gtk_entry_set_max_length (entryHandle, limit);}