GtkRuler                package:RGtk2                R Documentation

_G_t_k_R_u_l_e_r

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

     Base class for horizontal or vertical rulers

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

     'gtkRulerSetMetric(object, metric)'
      'gtkRulerSetRange(object, lower, upper, position, max.size)'
      'gtkRulerGetMetric(object)'
      'gtkRulerGetRange(object)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkRuler
                                +----GtkHRuler
                                +----GtkVRuler 

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

     GtkRuler 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 GTKRuler widget is a base
     class for horizontal and vertical rulers. Rulers are used to show
     the mouse pointer's location in a window. The ruler can either be
     horizontal or vertical on the window. Within the ruler a small
     triangle indicates the location of the mouse relative to the
     horizontal or vertical ruler. See 'GtkHRuler' to learn how to
     create a new horizontal ruler. See 'GtkVRuler' to learn how to
     create a new vertical ruler.

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


     '_G_t_k_R_u_l_e_r' All distances are in 1/72nd's of an inch. (According to
          Adobe thats a point, but points are really 1/72.27 in.)


_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] Lower limit of ruler.  Default
          value: 0


     '_m_a_x-_s_i_z_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Maximum size of the ruler. 
          Default value: 0


     '_m_e_t_r_i_c' ['_G_t_k_M_e_t_r_i_c_T_y_p_e' : _R_e_a_d / _W_r_i_t_e] The metric used for the
          ruler.  

          Default value: GTK_PIXELS  Since  2.8


     '_p_o_s_i_t_i_o_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Position of mark on the ruler.
           Default value: 0


     '_u_p_p_e_r' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Upper limit of ruler.  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/GtkRuler.html>

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

     'GtkHRuler' 'GtkVRuler'

