gtkEntryNewWithMaxLength        package:RGtk2        R Documentation

_g_t_k_E_n_t_r_y_N_e_w_W_i_t_h_M_a_x_L_e_n_g_t_h

_D_e_s_c_r_i_p_t_i_o_n:

     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.*

_U_s_a_g_e:

     gtkEntryNewWithMaxLength(max = 0, show = TRUE)

_A_r_g_u_m_e_n_t_s:

   '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.

_D_e_t_a_i_l_s:

     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.

_V_a_l_u_e:

     ['GtkWidget']  a new 'GtkEntry'.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

