apptools.preferences.ui.preferences_node module

Abstract base class for a node in a preferences dialog.

class apptools.preferences.ui.preferences_node.PreferencesNode[source]

Bases: apptools.preferences.ui.tree_item.TreeItem

Abstract base class for a node in a preferences dialog.

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

create_page(parent)[source]

Creates the preference page for this node.

dump(indent='')[source]

Pretty-print the node to stdout.

lookup(name)[source]

Returns the child of this node with the specified Id.

Returns None if no such child exists.