GtkAspectFrame             package:RGtk2             R Documentation

_G_t_k_A_s_p_e_c_t_F_r_a_m_e

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

     A frame that constrains its child to a particular aspect ratio

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

     'gtkAspectFrameNew(label = NULL, xalign = NULL, yalign = NULL,
     ratio = NULL, obey.child = NULL, show = TRUE)'
      'gtkAspectFrameSet(object, xalign = 0, yalign = 0, ratio = 1,
     obey.child = 1)'
      'gtkAspectFrame(label = NULL, xalign = NULL, yalign = NULL, ratio
     = NULL, obey.child = NULL, show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBin
                                      +----GtkFrame
                                            +----GtkAspectFrame 

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

     GtkAspectFrame implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkAspectFrame' is useful when you want pack a widget so that
     it can resize but always retains the same aspect ratio. For
     instance, one might be drawing a small preview of a larger image.
     'GtkAspectFrame' derives from 'GtkFrame', so it can draw a label
     and a frame around the child. The frame will be "shrink-wrapped"
     to the size of the child.

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


     '_G_t_k_A_s_p_e_c_t_F_r_a_m_e' _undocumented _


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

     'gtkAspectFrame' is the equivalent of 'gtkAspectFrameNew'.

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


     '_o_b_e_y-_c_h_i_l_d' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Force aspect ratio to match
          that of the frame's child.  Default value: TRUE


     '_r_a_t_i_o' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Aspect ratio if obey_child is
          FALSE.  Allowed values: [0.0001,10000]  Default value: 0.5


     '_x_a_l_i_g_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] X alignment of the child. 
          Allowed values: [0,1]  Default value: 0.5


     '_y_a_l_i_g_n' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Y alignment of the child. 
          Allowed values: [0,1]  Default value: 0.5


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

