gtkItemFactoryPopupWithData      package:RGtk2      R Documentation

_g_t_k_I_t_e_m_F_a_c_t_o_r_y_P_o_p_u_p_W_i_t_h_D_a_t_a

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

     Pops up the menu constructed from the item factory at ('x', 'y').
     Callbacks can access the 'popup.data' while the menu is posted via
      'gtkItemFactoryPopupData' and
     'gtkItemFactoryPopupDataFromWidget'. *WARNING:
     'gtk_item_factory_popup_with_data' is deprecated and should not be
     used in newly-written code.*

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

     gtkItemFactoryPopupWithData(object, popup.data, x, y, mouse.button, time = "GDK_CURRENT_TIME")

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

'object': ['GtkItemFactory']  a 'GtkItemFactory' of type
          'GTK_TYPE_MENU' (see 'gtkItemFactoryNew')

'popup.data': [R object]  data available for callbacks while the menu
          is posted

     'x': [numeric]  the x position 

     'y': [numeric]  the y position

'mouse.button': [numeric]  the mouse button which was pressed to
          initiate the popup

  'time': [numeric]  the time at which the activation event occurred

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

     The 'mouse.button' parameter should be the mouse button pressed to
     initiate the menu popup. If the menu popup was initiated by
     something other than a mouse button press, such as a mouse button
     release or a keypress, 'mouse.button' should be 0.

     The 'time.' parameter should be the time stamp of the event that
     initiated the popup. If such an event is not available, use
     'gtkGetCurrentEventTime' instead.

     The operation of the 'mouse.button' and the 'time.' parameters is
     the same as the 'button' and 'activation.time' parameters for
     'gtkMenuPopup'.

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

     Derived by RGtkGen from GTK+ documentation

