Gdome2 Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# Events Basic Types and Enumerations

## Name

Events Basic Types and Enumerations -- Description of basic types, classes and enumeration for "Events" modules.

## Synopsis

    enum        GdomePhaseType;
    enum        GdomeAttrChangeType;
    enum        GdomeEventExceptionCode;
    enum        GdomeEventType;

    typedef     GdomeEventTarget;

    #define     GDOME_EVNT                      (evt)
    #define     GDOME_MEVNT                     (evt)

## Description

## Details

### enum GdomePhaseType

    typedef enum {
    	GDOME_CAPTURING_PHASE = 1,
    	GDOME_AT_TARGET = 2,
    	GDOME_BUBBLING_PHASE = 3
    } GdomePhaseType;

### enum GdomeAttrChangeType

    typedef enum {
    	GDOME_ADDITION = 1,
    	GDOME_MODIFICATION = 2,
    	GDOME_REMOVAL = 3
    } GdomeAttrChangeType;

### enum GdomeEventExceptionCode

    typedef enum {
    	GDOME_UNSPECIFIED_EVENT_TYPE_ERR = 0
    } GdomeEventExceptionCode;

### enum GdomeEventType

    typedef enum {
    	GDOME_BASE_EVENT = 1,
    	GDOME_MUTATION_EVENT = 2,
    } GdomeEventType;

### GdomeEventTarget

    typedef GdomeNode GdomeEventTarget;

### GDOME_EVNT()

    #define GDOME_EVNT(evt) gdome_cast_evnt((GdomeEvent *)evt)

Cast a ganeral GdomeEvent reference to a GdomeEvent one.

`evt` : | Event Object ref

### GDOME_MEVNT()

    #define GDOME_MEVNT(evt) gdome_cast_mevnt((GdomeEvent *)evt)

Cast a ganeral GdomeEvent reference to a GdomeMutationEvent one.

`evt` : | Event Object ref

<<< Previous Page | Home | Up | Next Page >>>
Events modules | GdomeEventListener