ItemFactory.popup

Warning gtk_item_factory_popup has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkUIManager instead. Pops up the menu constructed from the item factory at (x, y). 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 gtk_get_current_event_time() instead. The operation of the mouse_button and the time_ parameter is the same as the button and activation_time parameters for gtk_menu_popup().

class ItemFactory
void
popup
(
uint x
,
uint y
,,
uint time
)

Parameters

x uint

the x position

y uint

the y position

mouseButton uint

the mouse button which was pressed to initiate the popup

time uint

the time at which the activation event occurred

Meta