Description Usage Arguments Details Author(s)
Pops up the menu constructed from the item factory at (x
, y
).
WARNING: gtk_item_factory_popup
has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkUIManager
instead.
1 | gtkItemFactoryPopup(object, x, y, mouse.button, time = "GDK_CURRENT_TIME")
|
|
a |
|
the x position |
|
the y position |
|
the mouse button which was pressed to initiate the popup |
|
the time at which the activation event occurred |
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.
parameter is the same
as the button
and activation.time
parameters for gtkMenuPopup
.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.