Logo Search packages:      
Sourcecode: inkscape version File versions

virtual bool org::w3c::dom::events::EventTarget::willTriggerNS ( const DOMString &  namespaceURI,
const DOMString &  type 
) [inline, virtual, inherited]

This method allows the DOM application to know if an event listener, attached to this EventTarget or one of its ancestors, will be triggered by the specified event type during the dispatch of the event to this event target or one of its descendants.

Definition at line 588 of file events.h.

        std::vector<EventListenerEntry>::iterator iter;
        for (iter = listeners.begin() ; iter != listeners.end() ; iter++)
            EventListenerEntry entry = *iter;
            if (entry.namespaceURI == namespaceURI &&
                entry.eventType    == type)
                return true;
        return false;

Generated by  Doxygen 1.6.0   Back to index