GtkCurve                package:RGtk2                R Documentation

_G_t_k_C_u_r_v_e

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

     Allows direct editing of a curve

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

     'gtkCurveNew(show = TRUE)'
      'gtkCurveReset(object)'
      'gtkCurveSetGamma(object, gamma)'
      'gtkCurveSetRange(object, min.x, max.x, min.y, max.y)'
      'gtkCurveGetVector(object, veclen)'
      'gtkCurveSetVector(object, vector)'
      'gtkCurveSetCurveType(object, type)'
      'gtkCurve(show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkDrawingArea
                                +----GtkCurve 

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

     GtkCurve implements AtkImplementorIface and  'GtkBuildable'.

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

     *PLEASE NOTE:*  This widget is considered too
     specialized/little-used for GTK+, and will in the future be moved
     to some other package.  If your application needs this widget,
     feel free to use it, as the widget does work and is useful in some
     applications; it's just not of general interest. However, we are
     not accepting new features for the widget, and it will eventually
     move out of the GTK+ distribution.   The 'GtkCurve' widget allows
     the user to edit a curve covering a range of values. It is
     typically used to fine-tune color balances in graphics
     applications like the Gimp.

     The 'GtkCurve' widget has 3 modes of operation - spline, linear
     and free. In spline mode the user places points on the curve which
     are automatically connected together into a smooth curve. In
     linear mode the user places points on the curve which are
     connected by straight lines. In free mode the user can draw the
     points of the curve freely, and they are not connected at all.

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


     '_G_t_k_C_u_r_v_e' The 'GtkCurve' struct contains private data only, and
          should be accessed using the functions below.


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

     'gtkCurve' is the equivalent of 'gtkCurveNew'.

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


     '_c_u_r_v_e-_t_y_p_e-_c_h_a_n_g_e_d(_c_u_r_v_e, _u_s_e_r._d_a_t_a)' Emitted when the curve type
          has been changed. The curve type can be changed explicitly
          with a call to 'gtkCurveSetCurveType'. It is also changed as
          a side-effect of calling 'gtkCurveReset' or
          'gtkCurveSetGamma'.

          '_c_u_r_v_e' ['GtkCurve'] 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:


     '_c_u_r_v_e-_t_y_p_e' ['_G_t_k_C_u_r_v_e_T_y_p_e' : _R_e_a_d / _W_r_i_t_e] Is this curve linear,
          spline interpolated, or free-form.  Default value:
          GTK_CURVE_TYPE_LINEAR


     '_m_a_x-_x' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Maximum possible X value. 
          Default value: 1


     '_m_a_x-_y' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Maximum possible value for Y. 
          Default value: 1


     '_m_i_n-_x' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Minimum possible value for X. 
          Default value: 0


     '_m_i_n-_y' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Minimum possible value for Y. 
          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/GtkCurve.html>

