gtkEntrySetMaxLength: gtkEntrySetMaxLength

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Sets the maximum allowed length of the contents of the widget. If the current contents are longer than the given length, then they will be truncated to fit.

Usage

1

Arguments

object

a GtkEntry

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.

Details

This is equivalent to:

1
gtk_entry_buffer_set_max_length (gtk_entry_get_buffer (entry), max);

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.