Method

EogScrollViewevent_is_over_image

Declaration [src]

gboolean
eog_scroll_view_event_is_over_image (
  EogScrollView* view,
  const GdkEvent* ev
)

Description [src]

Tells if evs originates from inside the image area. view must be realized and have an image set for this to work.

It only works with GdkEvents that supply coordinate data, i.e. GdkEventButton.

Parameters

ev GdkEvent
 

A GdkEvent which must have window-relative coordinates.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if ev originates from over the image, FALSE otherwise.