RGtk2 (version 2.20.31)

gtkEntryNewWithMaxLength: gtkEntryNewWithMaxLength

Description

Creates a new GtkEntry widget with the given maximum length. WARNING: gtk_entry_new_with_max_length has been deprecated since version 2.0 and should not be used in newly-written code. Use gtkEntrySetMaxLength instead.

Usage

gtkEntryNewWithMaxLength(max = 0, show = TRUE)

Arguments

max
the maximum length of the entry, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536.

Value

GtkWidget] a new GtkEntry