gtkMenuPopup              package:RGtk2              R Documentation

_g_t_k_M_e_n_u_P_o_p_u_p

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

     Displays a menu and makes it available for selection. 
     Applications can use this function to display context-sensitive
     menus, and will typically supply 'NULL' for the
     'parent.menu.shell', 'parent.menu.item', 'func' and 'data' 
     parameters. The default menu positioning function will position
     the menu at the current mouse cursor position.

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

     gtkMenuPopup(object, parent.menu.shell = NULL, parent.menu.item = NULL, func = NULL, data = NULL, button, activate.time)

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

'object': ['GtkMenu']  a 'GtkMenu'.

'parent.menu.shell': ['GtkWidget']  the menu shell containing the
          triggering menu item, or 'NULL'

'parent.menu.item': ['GtkWidget']  the menu item whose activation
          triggered the popup, or 'NULL'

  'func': ['GtkMenuPositionFunc']  a user supplied function used to
          position the menu, or 'NULL'

  'data': [R object]  user supplied data to be passed to 'func'.

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

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

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

     The '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, 'button' should be 0.

     The 'activate.time' parameter is used to conflict-resolve
     initiation of concurrent requests for mouse/keyboard grab
     requests. To function properly, this needs to be the time stamp of
     the user event (such as a mouse click or key press) that caused
     the initiation of the popup. Only if no such event is available,
     'gtkGetCurrentEventTime' can be used instead.

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

     Derived by RGtkGen from GTK+ documentation

