GtkAlignment              package:RGtk2              R Documentation

_G_t_k_A_l_i_g_n_m_e_n_t

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

     A widget which controls the alignment and size of its child

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

     'gtkAlignmentNew(xalign = NULL, yalign = NULL, xscale = NULL,
     yscale = NULL, show = TRUE)'
      'gtkAlignmentSet(object, xalign, yalign, xscale, yscale)'
      'gtkAlignmentGetPadding(object)'
      'gtkAlignmentSetPadding(object, padding.top, padding.bottom,
     padding.left, padding.right)'
      'gtkAlignment(xalign = NULL, yalign = NULL, xscale = NULL, yscale
     = NULL, show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBin
                                      +----GtkAlignment 

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

     GtkAlignment implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkAlignment' widget controls the alignment and size of its
     child widget. It has four settings: xscale, yscale, xalign, and
     yalign.

     The scale settings are used to specify how much the child widget
     should expand to fill the space allocated to the 'GtkAlignment'.
     The values can range from 0 (meaning the child doesn't expand at
     all) to 1 (meaning the child expands to fill all of the available
     space).

     The align settings are used to place the child widget within the
     available area. The values range from 0 (top or left) to 1 (bottom
     or right). Of course, if the scale settings are both set to 1, the
     alignment settings have no effect.

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


     '_G_t_k_A_l_i_g_n_m_e_n_t' The 'GtkAlignment' 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:

     'gtkAlignment' is the equivalent of 'gtkAlignmentNew'.

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


     '_b_o_t_t_o_m-_p_a_d_d_i_n_g' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The padding to insert at
          the bottom of the widget.  

          Allowed values: <= G_MAXINT  Default value: 0  Since  2.4


     '_l_e_f_t-_p_a_d_d_i_n_g' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The padding to insert at
          the left of the widget.  

          Allowed values: <= G_MAXINT  Default value: 0  Since  2.4


     '_r_i_g_h_t-_p_a_d_d_i_n_g' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The padding to insert at
          the right of the widget.  

          Allowed values: <= G_MAXINT  Default value: 0  Since  2.4


     '_t_o_p-_p_a_d_d_i_n_g' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The padding to insert at
          the top of the widget.  

          Allowed values: <= G_MAXINT  Default value: 0  Since  2.4


     '_x_a_l_i_g_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Horizontal position of child in
          available space. 0.0 is left aligned, 1.0 is right aligned. 
          Allowed values: [0,1]  Default value: 0.5


     '_x_s_c_a_l_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] If available horizontal space is
          bigger than needed for the child, how much of it to use for
          the child. 0.0 means none, 1.0 means all.  Allowed values:
          [0,1]  Default value: 1


     '_y_a_l_i_g_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Vertical position of child in
          available space. 0.0 is top aligned, 1.0 is bottom aligned. 
          Allowed values: [0,1]  Default value: 0.5


     '_y_s_c_a_l_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] If available vertical space is
          bigger than needed for the child, how much of it to use for
          the child. 0.0 means none, 1.0 means all.  Allowed values:
          [0,1]  Default value: 1


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

