pyface.preference.preference_node module

Abstract base class for a node in a preference dialog.

A preference node has a label and an image which are used to represent the node in a preference dialog (usually in the form of a tree).

class pyface.preference.preference_node.PreferenceNode[source]

Bases: pyface.viewer.tree_item.TreeItem

Abstract base class for a node in a preference dialog.

A preference node has a name and an image which are used to represent the node in a preference dialog (usually in the form of a tree).

create_page()[source]

Creates the preference page for this node.

lookup(id)[source]

Returns the child of this node with the specified Id.

Returns None if no such child exists.