pointer_grab


Description:

public GrabStatus pointer_grab (CanvasItem item, EventMask event_mask, Cursor? cursor, uint32 time)

Attempts to grab the pointer for the given item.

Parameters:

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.

Returns:

gdk_grab_success if the grab succeeded.