PyKDE - Python Bindings for KDE
class DOM.Node
Table of contents
Modules
khtml Classes
All Classes
Module
khtml
Class
DOM.Node
Inherits
enums
NodeType
= {ELEMENT_NODE, ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE, ENTITY_REFERENCE_NODE, ENTITY_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, DOCUMENT_FRAGMENT_NODE, NOTATION_NODE }
methods
Node
()
returns
a Node instance
Node
(other)
returns
a Node instance
Argument
Type
Default
other
DOM.Node
Node
(_impl)
Not Implemented
addEventListener
(type, listener, useCapture)
returns
nothing
Argument
Type
Default
type
DOM.DOMString
listener
DOM.EventListener
useCapture
bool
appendChild
(newChild)
returns
(DOM.Node)
Argument
Type
Default
newChild
DOM.Node
applyChanges
()
returns
nothing
attributes
()
returns
(DOM.NamedNodeMap)
childNodes
()
returns
(DOM.NodeList)
cloneNode
(deep)
returns
(DOM.Node)
Argument
Type
Default
deep
bool
dispatchEvent
(evt)
returns
(bool)
Argument
Type
Default
evt
DOM.Event
elementId
()
returns
(ulong)
firstChild
()
returns
(DOM.Node)
getCursor
(offset)
returns
_x (int) _y (int) height (int)
Argument
Type
Default
offset
int
getRect
()
returns
(QRect)
handle
()
Not Implemented
hasAttributes
()
returns
(bool)
hasChildNodes
()
returns
(bool)
index
()
returns
(ulong)
insertBefore
(newChild, refChild)
returns
(DOM.Node)
Argument
Type
Default
newChild
DOM.Node
refChild
DOM.Node
isNull
()
returns
(bool)
isSupported
(feature, version)
returns
(bool)
Argument
Type
Default
feature
DOM.DOMString
version
DOM.DOMString
lastChild
()
returns
(DOM.Node)
localName
()
returns
(DOM.DOMString)
namespaceURI
()
returns
(DOM.DOMString)
nextSibling
()
returns
(DOM.Node)
nodeName
()
returns
(DOM.DOMString)
nodeType
()
returns
(ushort)
nodeValue
()
returns
(DOM.DOMString)
normalize
()
returns
nothing
ownerDocument
()
returns
(DOM.Document)
parentNode
()
returns
(DOM.Node)
prefix
()
returns
(DOM.DOMString)
previousSibling
()
returns
(DOM.Node)
removeChild
(oldChild)
returns
(DOM.Node)
Argument
Type
Default
oldChild
DOM.Node
removeEventListener
(type, listener, useCapture)
returns
nothing
Argument
Type
Default
type
DOM.DOMString
listener
DOM.EventListener
useCapture
bool
replaceChild
(newChild, oldChild)
returns
(DOM.Node)
Argument
Type
Default
newChild
DOM.Node
oldChild
DOM.Node
setNodeValue
(a0)
returns
nothing
Argument
Type
Default
a0
DOM.DOMString
setPrefix
(prefix)
returns
nothing
Argument
Type
Default
prefix
DOM.DOMString
toHTML
()
returns
(QString)
operators
operator !=
(a0)
returns
(bool)
Argument
Type
Default
a0
DOM.Node
operator ==
(a0)
returns
(bool)
Argument
Type
Default
a0
DOM.Node