GtkTable                package:RGtk2                R Documentation

_G_t_k_T_a_b_l_e

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

     Pack widgets in regular patterns

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

     'gtkTableNew(rows = NULL, columns = NULL, homogeneous = NULL, show
     = TRUE)'
      'gtkTableResize(object, rows, columns)'
      'gtkTableAttach(object, child, left.attach, right.attach,
     top.attach, bottom.attach, xoptions = 5, yoptions = 5, xpadding =
     0, ypadding = 0)'
      'gtkTableAttachDefaults(object, widget, left.attach,
     right.attach, top.attach, bottom.attach)'
      'gtkTableSetRowSpacing(object, row, spacing)'
      'gtkTableSetColSpacing(object, column, spacing)'
      'gtkTableSetRowSpacings(object, spacing)'
      'gtkTableSetColSpacings(object, spacing)'
      'gtkTableSetHomogeneous(object, homogeneous)'
      'gtkTableGetDefaultRowSpacing(object)'
      'gtkTableGetHomogeneous(object)'
      'gtkTableGetRowSpacing(object, row)'
      'gtkTableGetColSpacing(object, column)'
      'gtkTableGetDefaultColSpacing(object)'
      'gtkTable(rows = NULL, columns = NULL, homogeneous = NULL, show =
     TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkTable 

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

     GtkTable implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkTable' functions allow the programmer to arrange widgets
     in rows and columns, making it easy to align many widgets next to
     each other, horizontally and vertically.

     Tables are created with a call to 'gtkTableNew', the size of which
     can later be changed with 'gtkTableResize'.

     Widgets can be added to a table using 'gtkTableAttach' or the more
     convenient (but slightly less flexible) 'gtkTableAttachDefaults'.

     To alter the space next to a specific row, use
     'gtkTableSetRowSpacing', and for a column,
     'gtkTableSetColSpacing'.   The gaps between _all_ rows or columns
     can be changed by calling 'gtkTableSetRowSpacings' or
     'gtkTableSetColSpacings' respectively. 'gtkTableSetHomogeneous',
     can be used to set whether all cells in the table will resize
     themselves to the size of the largest widget in the table.

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


     '_G_t_k_T_a_b_l_e' The 'GtkTable' structure holds the data for the actual
          table itself. 

          'children' is a 'list' of all the widgets the table contains.
          'rows' and 'columns' are pointers to 'GtkTableRowCol'
          structures, which contain the default spacing and expansion
          details for the 'GtkTable''s rows and columns, respectively.
          'nrows' and 'ncols' are 16bit integers storing the number of
          rows and columns the table has. 

          '_c_h_i_l_d_r_e_n' [list] 

          '_r_o_w_s' ['GtkTableRowCol'] 

          '_c_o_l_s' ['GtkTableRowCol'] 

          '_n_r_o_w_s' [integer] 

          '_n_c_o_l_s' [integer] 


     '_G_t_k_T_a_b_l_e_C_h_i_l_d' The 'widget' field is a pointer to the widget that
           this 'GtkTableChild' structure is keeping track of. The
          'left_attach', 'right_attach', 'top_attach', and
          'bottom_attach' fields specify the row and column numbers
          which make up the invisible rectangle that the child widget
          is packed into. 'xpadding' and 'ypadding' specify the space
          between this widget and the surrounding table cells.

          '_w_i_d_g_e_t' ['GtkWidget'] 

          '_l_e_f_t_A_t_t_a_c_h' [integer] 

          '_r_i_g_h_t_A_t_t_a_c_h' [integer] 

          '_t_o_p_A_t_t_a_c_h' [integer] 

          '_b_o_t_t_o_m_A_t_t_a_c_h' [integer] 

          '_x_p_a_d_d_i_n_g' [integer] 

          '_y_p_a_d_d_i_n_g' [integer] 

          '_x_e_x_p_a_n_d' [numeric] 

          '_y_e_x_p_a_n_d' [numeric] 

          '_x_s_h_r_i_n_k' [numeric] 

          '_y_s_h_r_i_n_k' [numeric] 

          '_x_f_i_l_l' [numeric] 

          '_y_f_i_l_l' [numeric] 


     '_G_t_k_T_a_b_l_e_R_o_w_C_o_l' These fields should be considered read-only and
          not be modified directly.

          '_r_e_q_u_i_s_i_t_i_o_n' [integer] 

          '_a_l_l_o_c_a_t_i_o_n' [integer] 

          '_s_p_a_c_i_n_g' [integer] 

          '_n_e_e_d_E_x_p_a_n_d' [numeric] 

          '_n_e_e_d_S_h_r_i_n_k' [numeric] 

          '_e_x_p_a_n_d' [numeric] 

          '_s_h_r_i_n_k' [numeric] 

          '_e_m_p_t_y' [numeric] 


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

     'gtkTable' is the equivalent of 'gtkTableNew'.

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


     '_c_o_l_u_m_n-_s_p_a_c_i_n_g' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The amount of space
          between two consecutive columns.  Default value: 0


     '_h_o_m_o_g_e_n_e_o_u_s' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If TRUE, the table cells
          are all the same width/height.  Default value: FALSE


     '_n-_c_o_l_u_m_n_s' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The number of columns in the
          table.  Default value: 0


     '_n-_r_o_w_s' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The number of rows in the table.
           Default value: 0


     '_r_o_w-_s_p_a_c_i_n_g' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The amount of space between
          two consecutive rows.  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/GtkTable.html>

