GtkScaleButton             package:RGtk2             R Documentation

_G_t_k_S_c_a_l_e_B_u_t_t_o_n

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

     A button which pops up a scale

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

     'gtkScaleButtonNew(size, min, max, step, icons, show = TRUE)'
      'gtkScaleButtonSetAdjustment(object, adjustment)'
      'gtkScaleButtonSetIcons(object, icons)'
      'gtkScaleButtonSetValue(object, value)'
      'gtkScaleButtonGetAdjustment(object)'
      'gtkScaleButtonGetValue(object)'
      'gtkScaleButton(size, min, max, step, icons, show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBin
                                      +----GtkButton
                                            +----GtkScaleButton
                                                  +----GtkVolumeButton 

_I_n_t_e_r_f_a_c_e_s:

     GtkScaleButton implements AtkImplementorIface and  'GtkBuildable'.

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

     'GtkScaleButton' provides a button which pops up a scale widget. 
     This kind of widget is commonly used for volume controls in
     multimedia applications, and GTK+ provides a 'GtkVolumeButton'
     subclass that is tailored for this use case.

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


     '_G_t_k_S_c_a_l_e_B_u_t_t_o_n' _undocumented _


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

     'gtkScaleButton' is the equivalent of 'gtkScaleButtonNew'.

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


     '_p_o_p_d_o_w_n(_b_u_t_t_o_n, _u_s_e_r._d_a_t_a)' The ::popdown signal is a  keybinding
          signal  which gets emitted to popdown the scale widget.

          The default binding for this signal is Escape.  

          Since  2.12

          '_b_u_t_t_o_n' ['GtkScaleButton']  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_o_p_u_p(_b_u_t_t_o_n, _u_s_e_r._d_a_t_a)' The ::popup signal is a  keybinding
          signal  which gets emitted to popup the scale widget.

          The default bindings for this signal are Space, Enter and
          Return.  

          Since  2.12

          '_b_u_t_t_o_n' ['GtkScaleButton']  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(_b_u_t_t_o_n, _v_a_l_u_e, _u_s_e_r._d_a_t_a)' The ::value-changed
          signal is emitted when the value field has changed.  

          Since  2.12

          '_b_u_t_t_o_n' ['GtkScaleButton']  the object which received the
               signal

          '_v_a_l_u_e' [numeric]  the new value

          '_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:


     '_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 GtkAdjustment
          that contains the current value of this scale button object.


     '_i_c_o_n_s' [_c_h_a_r_a_c_t_e_r _l_i_s_t : _R_e_a_d / _W_r_i_t_e] The names of the icons to
          be used by the scale button.  The first item in the list will
          be used in the button  when the current value is the lowest
          value, the second  item for the highest value. All the
          subsequent icons will  be used for all the other values,
          spread evenly over the  range of values.

          If there's only one icon name in the 'icons' list, it will 
          be used for all the values. If only two icon names are in 
          the 'icons' list, the first one will be used for the bottom 
          50% of the scale, and the second one for the top 50%.

          It is recommended to use at least 3 icons so that the 
          'GtkScaleButton' reflects the current value of the scale 
          better for the users.  

          Since  2.12


     '_s_i_z_e' ['_G_t_k_I_c_o_n_S_i_z_e' : _R_e_a_d / _W_r_i_t_e] The icon size.  Default
          value: GTK_ICON_SIZE_SMALL_TOOLBAR


     '_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 scale.  Default
          value: 0


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

