gtkEntryNewWithMaxLength {RGtk2}R Documentation

gtkEntryNewWithMaxLength

Description

Creates a new GtkEntry widget with the given maximum length. WARNING: gtk_entry_new_with_max_length is deprecated and should not be used in newly-written code.

Usage

gtkEntryNewWithMaxLength(max = 0, show = TRUE)

Arguments

max [integer] 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.

Details

Note: the existence of this function is inconsistent with the rest of the GTK+ API. The normal setup would be to just require the user to make an extra call to gtkEntrySetMaxLength instead. It is not expected that this function will be removed, but it would be better practice not to use it.

Value

[GtkWidget] a new GtkEntry.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]