Attempts to grab the pointer for the given item.
this |
a Canvas. |
item |
the item to grab the pointer for. |
event_mask |
the events to receive during the grab. |
cursor |
the cursor to display during the grab, or NULL. |
time |
the time of the event that lead to the pointer grab. This should come from the relevant Event. |
gdk_grab_success if the grab succeeded. |