|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.Boxed
org.gnu.gdk.Event
public class Event
| Constructor Summary | |
|---|---|
Event(Event event)
Creates a copy of an event. |
|
Event(EventType type)
Create a new event of a given type. |
|
| Method Summary | |
|---|---|
static boolean |
eventsPending()
Checks if any events are ready to be processed for any display. |
static Event |
get()
Checks all open displays for an Event to process, to be processed on, fetching events from the windowing system if necessary. |
static EventExpose |
getGraphicsExpose(Window window)
Deprecated. This method is intented for use with deprecated GTK widgets and as such has been deprecated. |
int |
getTime()
Returns the timestamp of the event. |
static Event |
peek()
If there is an event waiting in the event queue of some open display, returns a copy of it. |
static void |
put(Event anEvent)
Appends a copy of a given event onto the front of the event queue the event window's display or the default event queue if the event's window is null. |
| Methods inherited from class org.gnu.glib.Boxed |
|---|
equals, getBoxedFromHandle, hashCode |
| Methods inherited from class org.gnu.glib.Struct |
|---|
getHandle, getNullHandle |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Event(EventType type)
type - public Event(Event event)
event - | Method Detail |
|---|
public static boolean eventsPending()
public static Event peek()
public static Event get()
public static EventExpose getGraphicsExpose(Window window)
window - Window to wait for the events for.
public static void put(Event anEvent)
anEvent - public int getTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||