org.gnu.gtk.event
Class ExposeEvent
- Serializable
This event object is used to identify how expose has changed.
ExposeEvent
public ExposeEvent(Object source,
EventExpose gdkEvent)
ExposeEvent
public ExposeEvent(Object source,
EventNoExpose gdkEvent)
getArea
public Rectangle getArea()
Returns the bounding box of region.
- the bounding box of region.
getCount
public int getCount()
Returns the number of contiguous EXPOSE events following this one. The
only use for this is "exposure compression", i.e. handling all contiguous
EXPOSE events in one go, though GDK performs some exposure compression so
this is not normally needed.
- the number of contiguous EXPOSE events following this one.
getRegion
public Region getRegion()
Returns the region that needs to be redrawn.
- the region that needs to be redrawn.
getSendEvent
public boolean getSendEvent()
Check if the event was sent explicitly (eg using XSendEvent).
- true if the event was sent explicitly (e.g. using XSendEvent),
false otherwise.
getWindow
public Window getWindow()
The window which received the event.
- the window which received the event.