GtkAdjustment             package:RGtk2             R Documentation

_G_t_k_A_d_j_u_s_t_m_e_n_t

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

     A GtkObject representing an adjustable bounded value

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

     'gtkAdjustmentNew(value = NULL, lower = NULL, upper = NULL,
     step.incr = NULL, page.incr = NULL, page.size = NULL)'
      'gtkAdjustmentGetValue(object)'
      'gtkAdjustmentSetValue(object, value)'
      'gtkAdjustmentClampPage(object, lower, upper)'
      'gtkAdjustmentChanged(object)'
      'gtkAdjustmentValueChanged(object)'
      'gtkAdjustment(value = NULL, lower = NULL, upper = NULL,
     step.incr = NULL, page.incr = NULL, page.size = NULL)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkAdjustment 

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

     The 'GtkAdjustment' object represents a value which has an
     associated lower and upper bound, together with step and page
     increments, and a page size. It is used within several GTK+
     widgets, including 'GtkSpinButton', 'GtkViewport', and 'GtkRange'
     (which is a base class for 'GtkHScrollbar', 'GtkVScrollbar',
     'GtkHScale', and 'GtkVScale').

     The 'GtkAdjustment' object does not update the value itself.
     Instead it is left up to the owner of the 'GtkAdjustment' to
     control the value.

     The owner of the 'GtkAdjustment' typically calls the
     'gtkAdjustmentValueChanged' and 'gtkAdjustmentChanged' functions
     after changing the value and its bounds. This results in the
     emission of the "value_changed" or "changed" signal respectively.

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


     '_G_t_k_A_d_j_u_s_t_m_e_n_t' The 'GtkAdjustment' struct contains the following
          fields.

            'numeric'   lower;           the minimum value.
            'numeric'   upper;           the maximum value.
            'numeric'   value;           the current value.
            'numeric'   step_increment;  the increment to use to make minor changes to the value. In a   'GtkScrollbar'   this increment is used when the mouse is clicked on the arrows at the top and bottom of the scrollbar, to scroll by a small amount.
            'numeric'   page_increment;  the increment to use to make major changes to the value. In a   'GtkScrollbar'   this increment is used when the mouse is clicked in the trough, to scroll by a large amount.
            'numeric'   page_size;       the page size. In a   'GtkScrollbar'   this is the size of the area which is currently visible.


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

     'gtkAdjustment' is the equivalent of 'gtkAdjustmentNew'.

_S_i_g_n_a_l_s:


     '_c_h_a_n_g_e_d(_a_d_j_u_s_t_m_e_n_t, _u_s_e_r._d_a_t_a)' Emitted when one or more of the
          'GtkAdjustment' fields have been changed, other than the
          value field.

          '_a_d_j_u_s_t_m_e_n_t' ['GtkAdjustment'] the object which received the
               signal.

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


     '_v_a_l_u_e-_c_h_a_n_g_e_d(_a_d_j_u_s_t_m_e_n_t, _u_s_e_r._d_a_t_a)' Emitted when the
          'GtkAdjustment' value field has been changed.

          '_a_d_j_u_s_t_m_e_n_t' ['GtkAdjustment'] the object which received the
               signal.

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


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


     '_l_o_w_e_r' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The minimum value of the
          adjustment.  

          Default value: 0  Since  2.4


     '_p_a_g_e-_i_n_c_r_e_m_e_n_t' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The page increment of
          the adjustment.  

          Default value: 0  Since  2.4


     '_p_a_g_e-_s_i_z_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The page size of the
          adjustment.  Note that the page-size is irrelevant and should
          be set to zero if the adjustment is used for a simple scalar
          value, e.g. in a  'GtkSpinButton'.  

          Default value: 0  Since  2.4


     '_s_t_e_p-_i_n_c_r_e_m_e_n_t' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The step increment of
          the adjustment.  

          Default value: 0  Since  2.4


     '_u_p_p_e_r' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The maximum value of the
          adjustment.  Note that values will be restricted by  'upper -
          page-size' if the page-size  property is nonzero.  

          Default value: 0  Since  2.4


     '_v_a_l_u_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The value of the adjustment.  

          Default value: 0  Since  2.4


_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/GtkAdjustment.html>

