## 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);

`webkit_dom_node_filter_accept_node` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

#### 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

`WEBKIT_DOM_NODE_FILTER_ACCEPT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

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

`WEBKIT_DOM_NODE_FILTER_REJECT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

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

`WEBKIT_DOM_NODE_FILTER_SHOW_ALL` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show all nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE              0x00000002

`WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMAttr nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION

    #define WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION          0x00000008

`WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMCDataSection nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT                0x00000080

`WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMComment nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT               0x00000100

`WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMDocument nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT      0x00000400

`WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMDocumentFragment nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE

    #define WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE          0x00000200

`WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMDocumentType nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT                0x00000001

`WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMElement nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY                 0x00000020

`WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMEntity nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE

    #define WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE       0x00000010

`WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMEntityReference nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION

    #define WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION               0x00000800

`WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMNotation nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION

    #define WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION 0x00000040

`WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMProcessingInstruction nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SHOW_TEXT

    #define WEBKIT_DOM_NODE_FILTER_SHOW_TEXT                   0x00000004

`WEBKIT_DOM_NODE_FILTER_SHOW_TEXT` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Show WebKitDOMText nodes.

Since: 2.6

### WEBKIT_DOM_NODE_FILTER_SKIP

    #define WEBKIT_DOM_NODE_FILTER_SKIP   3

`WEBKIT_DOM_NODE_FILTER_SKIP` has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

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