eric7.WebBrowser.Bookmarks.BookmarkNode

Module implementing the bookmark node.

Global Attributes

None

Classes

BookmarkNode Class implementing the bookmark node type.
BookmarkNodeType Class defining the bookmark node types.
BookmarkTimestampType Class defining the bookmark timestamp types.

Functions

None


BookmarkNode

Class implementing the bookmark node type.

Derived from

None

Class Attributes

None

Class Methods

None

Methods

BookmarkNode Constructor
add Public method to add/insert a child node.
children Public method to get the list of child nodes.
parent Public method to get a reference to the parent node.
remove Public method to remove a child node.
setType Public method to set the bookmark's type.
type Public method to get the bookmark's type.

Static Methods

None

BookmarkNode (Constructor)

BookmarkNode(type_=BookmarkNodeType.Root, parent=None)

Constructor

type_ (BookmarkNode.Type)
type of the bookmark node
parent (BookmarkNode)
reference to the parent node

BookmarkNode.add

add(child, offset=-1)

Public method to add/insert a child node.

child (BookmarkNode)
reference to the node to add
offset (int)
position where to insert child (-1 = append)

BookmarkNode.children

children()

Public method to get the list of child nodes.

Return:
list of all child nodes
Return Type:
list of BookmarkNode

BookmarkNode.parent

parent()

Public method to get a reference to the parent node.

Return:
reference to the parent node
Return Type:
BookmarkNode

BookmarkNode.remove

remove(child)

Public method to remove a child node.

child (BookmarkNode)
reference to the child node

BookmarkNode.setType

setType(type_)

Public method to set the bookmark's type.

type_ (BookmarkNode.Type)
type of the bookmark node

BookmarkNode.type

type()

Public method to get the bookmark's type.

Return:
bookmark type
Return Type:
BookmarkNode.Type
Up


BookmarkNodeType

Class defining the bookmark node types.

Derived from

enum.Enum

Class Attributes

Bookmark
Folder
Root
Separator

Class Methods

None

Methods

None

Static Methods

None
Up


BookmarkTimestampType

Class defining the bookmark timestamp types.

Derived from

enum.Enum

Class Attributes

Added
Modified
Visited

Class Methods

None

Methods

None

Static Methods

None
Up