WebKitDOMNodeFilter: WebKitDOMGTK+ Reference Manual

## WebKitDOMNodeFilter WebKitDOMNodeFilter |

## Functions

gshort | webkit_dom_node_filter_accept_node ()

## Types and Values

#define | WEBKIT_DOM_NODE_FILTER_ACCEPT
#define | WEBKIT_DOM_NODE_FILTER_REJECT
#define | WEBKIT_DOM_NODE_FILTER_SHOW_ALL
#define | WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE
#define | WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION
#define | WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT
#define | WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT
#define | WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT
#define | WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE
#define | WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT
#define | WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY
#define | WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE
#define | WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION
#define | WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION
#define | WEBKIT_DOM_NODE_FILTER_SHOW_TEXT
#define | WEBKIT_DOM_NODE_FILTER_SKIP

## Description

## Functions

### webkit_dom_node_filter_accept_node ()

    gshort
    webkit_dom_node_filter_accept_node (WebKitDOMNodeFilter *filter,
                                        WebKitDOMNode *node);

#### Parameters

filter | A WebKitDOMNodeFilter |
node | A WebKitDOMNode |

#### Returns

a gshort

## Types and Values

### WEBKIT_DOM_NODE_FILTER_ACCEPT

    #define WEBKIT_DOM_NODE_FILTER_ACCEPT 1

Accept the node. Use this macro as return value of `webkit_dom_node_filter_accept_node()` implementation to accept the given WebKitDOMNode

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_REJECT

    #define WEBKIT_DOM_NODE_FILTER_REJECT 2

Reject the node. Use this macro as return value of `webkit_dom_node_filter_accept_node()` implementation to reject the given WebKitDOMNode. The children of the given node will be rejected too.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ALL

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ALL                    0xFFFFFFFF

Show all nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE              0x00000002

Show WebKitDOMAttr nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION

    #define WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION          0x00000008

Show WebKitDOMCDataSection nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT                0x00000080

Show WebKitDOMComment nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT               0x00000100

Show WebKitDOMDocument nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT      0x00000400

Show WebKitDOMDocumentFragment nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE

    #define WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE          0x00000200

Show WebKitDOMDocumentType nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT                0x00000001

Show WebKitDOMElement nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY                 0x00000020

Show WebKitDOMEntity nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE       0x00000010

Show WebKitDOMEntityReference nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION

    #define WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION               0x00000800

Show WebKitDOMNotation nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION

    #define WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION 0x00000040

Show WebKitDOMProcessingInstruction nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_TEXT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_TEXT                   0x00000004

Show WebKitDOMText nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SKIP

    #define WEBKIT_DOM_NODE_FILTER_SKIP   3

Skip the node. Use this macro as return value of `webkit_dom_node_filter_accept_node()` implementation to skip the given WebKitDOMNode. The children of the given node will not be skipped.

Since: 2.6