gdkCursorNewFromPixbuf         package:RGtk2         R Documentation

_g_d_k_C_u_r_s_o_r_N_e_w_F_r_o_m_P_i_x_b_u_f

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

     Creates a new cursor from a pixbuf.

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

     gdkCursorNewFromPixbuf(display, source, x, y)

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

'display': ['GdkDisplay']  the 'GdkDisplay' for which the cursor will
          be created

'source': ['GdkPixbuf']  the 'GdkPixbuf' containing the cursor image

     'x': [integer]  the horizontal offset of the 'hotspot' of the
          cursor. 

     'y': [integer]  the vertical offset of the 'hotspot' of the
          cursor.

_D_e_t_a_i_l_s:

     Not all GDK backends support RGBA cursors. If they are not 
     supported, a monochrome approximation will be displayed.  The
     functions 'gdkDisplaySupportsCursorAlpha' and 
     'gdkDisplaySupportsCursorColor' can be used to determine whether
     RGBA cursors are supported;  'gdkDisplayGetDefaultCursorSize' and 
     'gdkDisplayGetMaximalCursorSize' give information about  cursor
     sizes.

     On the X backend, support for RGBA cursors requires a sufficently
     new version of the X Render extension.  

     Since  2.4

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

     ['GdkCursor']  a new 'GdkCursor'.

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

     Derived by RGtkGen from GTK+ documentation

