gtkWidgetRegionIntersect        package:RGtk2        R Documentation

_g_t_k_W_i_d_g_e_t_R_e_g_i_o_n_I_n_t_e_r_s_e_c_t

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

     Computes the intersection of a 'widget''s area and 'region',
     returning the intersection. The result may be empty, use
     'gdkRegionEmpty' to check.

_U_s_a_g_e:

     gtkWidgetRegionIntersect(object, region)

_A_r_g_u_m_e_n_t_s:

'object': ['GtkWidget']  a 'GtkWidget'

'region': ['GdkRegion']  a 'GdkRegion', in the same coordinate system
          as  'widget->allocation'. That is, relative to
          'widget->window' for 'NO_WINDOW' widgets; relative to the
          parent window of 'widget->window' for widgets with their own
          window.

_V_a_l_u_e:

     ['GdkRegion']  A newly allocated region holding the intersection
     of 'widget' and 'region'. The coordinates of the return value are
     relative to 'widget->window' for 'NO_WINDOW' widgets, and relative
     to the parent window of 'widget->window' for widgets with their
     own window.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

