GtkMisc                package:RGtk2                R Documentation

_G_t_k_M_i_s_c

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

     Base class for widgets with alignments and padding

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

     'gtkMiscSetAlignment(object, xalign, yalign)'
      'gtkMiscSetPadding(object, xpad, ypad)'
      'gtkMiscGetAlignment(object)'
      'gtkMiscGetPadding(object)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkMisc
                                +----GtkLabel
                                +----GtkArrow
                                +----GtkImage
                                +----GtkPixmap 

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

     GtkMisc implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkMisc' widget is an abstract widget which is not useful
     itself, but is used to derive subclasses which have alignment and
     padding attributes.

     The horizontal and vertical padding attributes allows extra space
     to be added around the widget.

     The horizontal and vertical alignment attributes enable the widget
     to be positioned within its allocated area. Note that if the
     widget is added to a container in such a way that it expands
     automatically to fill its allocated area, the alignment settings
     will not alter the widgets position.

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


     '_G_t_k_M_i_s_c' The 'GtkMisc' struct contains the following fields.
          (These fields should be considered read-only. They should
          never be set by an application.)

            'numeric'  'xalign'  ;  the horizontal alignment, from 0 (left) to 1 (right).
            'numeric'  'yalign'  ;  the vertical alignment, from 0 (top) to 1 (bottom).
            'integer'  'xpad'  ;    the amount of space to add on the left and right of the widget, in pixels.
            'integer'  'ypad'  ;    the amount of space to add on the top and bottom of the widget, in pixels.


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


     '_x_a_l_i_g_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The horizontal alignment, from 0
          (left) to 1 (right). Reversed for RTL layouts.  Allowed
          values: [0,1]  Default value: 0.5


     '_x_p_a_d' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] The amount of space to add on the
          left and right of the widget, in pixels.  Allowed values: >=
          0  Default value: 0


     '_y_a_l_i_g_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The vertical alignment, from 0
          (top) to 1 (bottom).  Allowed values: [0,1]  Default value:
          0.5


     '_y_p_a_d' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] The amount of space to add on the
          top and bottom of the widget, in pixels.  Allowed values: >=
          0  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/GtkMisc.html>

