GtkCellRendererSpin          package:RGtk2          R Documentation

_G_t_k_C_e_l_l_R_e_n_d_e_r_e_r_S_p_i_n

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

     Renders a spin button in a cell

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkCellRendererSpinNew()'
      'gtkCellRendererSpin()'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkCellRenderer
                          +----GtkCellRendererText
                                +----GtkCellRendererSpin 

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

     'GtkCellRendererSpin' renders text in a cell like
     'GtkCellRendererText' from  which it is derived. But while
     'GtkCellRendererText' offers a simple entry to  edit the text,
     'GtkCellRendererSpin' offers a 'GtkSpinButton' widget. Of course,
     that means that the text has to be parseable as a floating point
     number.

     The range of the spinbutton is taken from the adjustment property
     of the cell renderer, which can be set explicitly or mapped to a
     column in the  tree model, like all properties of cell renders.
     'GtkCellRendererSpin' also has properties for the climb rate and
     the number of digits to display. Other 'GtkSpinButton' properties
     can be set in a handler for the start-editing signal.

     The 'GtkCellRendererSpin' cell renderer was added in GTK+ 2.10.

_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_C_e_l_l_R_e_n_d_e_r_e_r_S_p_i_n' _undocumented _


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkCellRendererSpin' is the equivalent of
     'gtkCellRendererSpinNew'.

_P_r_o_p_e_r_t_i_e_s:


     '_a_d_j_u_s_t_m_e_n_t' ['_G_t_k_A_d_j_u_s_t_m_e_n_t' : _R_e_a_d / _W_r_i_t_e] The adjustment that
          holds the value of the spinbutton.  This must be non-'NULL'
          for the cell renderer to be editable.  

          Since  2.10


     '_c_l_i_m_b-_r_a_t_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The acceleration rate when
          you hold down a button.  

          Allowed values: >= 0  Default value: 0  Since  2.10


     '_d_i_g_i_t_s' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The number of decimal places to
          display.  

          Allowed values: <= 20  Default value: 0  Since  2.10


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererSpin.html>

_S_e_e _A_l_s_o:

     'GtkCellRendererText' 'GtkSpinButton'

