org.gnu.glib

Class EventType

public class EventType extends Object

Represents a particular type of an event. Each GtkEvent has an associated type.
Constructor Summary
EventType(int typeID, String typeName)
Constructs a new event type
Method Summary
intgetID()
StringgetName()

Constructor Detail

EventType

public EventType(int typeID, String typeName)
Constructs a new event type

Parameters: typeID Type Identifier typeName String to be displayed as part of the event.toString method.

Method Detail

getID

public int getID()

getName

public String getName()