eric6/Documentation/Source/eric6.WebBrowser.Bookmarks.BookmarkNode.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.Bookmarks.BookmarkNode</h1> 23 <h1>eric6.WebBrowser.Bookmarks.BookmarkNode</h1>
24
23 <p> 25 <p>
24 Module implementing the bookmark node. 26 Module implementing the bookmark node.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#BookmarkNode">BookmarkNode</a></td> 38 <td><a href="#BookmarkNode">BookmarkNode</a></td>
34 <td>Class implementing the bookmark node type.</td> 39 <td>Class implementing the bookmark node type.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="BookmarkNode" ID="BookmarkNode"></a> 49 <a NAME="BookmarkNode" ID="BookmarkNode"></a>
43 <h2>BookmarkNode</h2> 50 <h2>BookmarkNode</h2>
51
44 <p> 52 <p>
45 Class implementing the bookmark node type. 53 Class implementing the bookmark node type.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 object 56 object
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>Bookmark</td></tr><tr><td>Folder</td></tr><tr><td>Root</td></tr><tr><td>Separator</td></tr><tr><td>TsAdded</td></tr><tr><td>TsModified</td></tr><tr><td>TsVisited</td></tr> 60 <tr><td>Bookmark</td></tr><tr><td>Folder</td></tr><tr><td>Root</td></tr><tr><td>Separator</td></tr><tr><td>TsAdded</td></tr><tr><td>TsModified</td></tr><tr><td>TsVisited</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#BookmarkNode.__init__">BookmarkNode</a></td> 72 <td><a href="#BookmarkNode.__init__">BookmarkNode</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#BookmarkNode.add">add</a></td> 76 <td><a href="#BookmarkNode.add">add</a></td>
64 <td>Public method to add/insert a child node.</td> 77 <td>Public method to add/insert a child node.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#BookmarkNode.children">children</a></td> 80 <td><a href="#BookmarkNode.children">children</a></td>
67 <td>Public method to get the list of child nodes.</td> 81 <td>Public method to get the list of child nodes.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#BookmarkNode.parent">parent</a></td> 84 <td><a href="#BookmarkNode.parent">parent</a></td>
70 <td>Public method to get a reference to the parent node.</td> 85 <td>Public method to get a reference to the parent node.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#BookmarkNode.remove">remove</a></td> 88 <td><a href="#BookmarkNode.remove">remove</a></td>
73 <td>Public method to remove a child node.</td> 89 <td>Public method to remove a child node.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#BookmarkNode.setType">setType</a></td> 92 <td><a href="#BookmarkNode.setType">setType</a></td>
76 <td>Public method to set the bookmark's type.</td> 93 <td>Public method to set the bookmark's type.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#BookmarkNode.type">type</a></td> 96 <td><a href="#BookmarkNode.type">type</a></td>
79 <td>Public method to get the bookmark's type.</td> 97 <td>Public method to get the bookmark's type.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
83 <table> 101
84 <tr><td>None</td></tr> 102 <table>
85 </table> 103 <tr><td>None</td></tr>
104 </table>
105
86 <a NAME="BookmarkNode.__init__" ID="BookmarkNode.__init__"></a> 106 <a NAME="BookmarkNode.__init__" ID="BookmarkNode.__init__"></a>
87 <h4>BookmarkNode (Constructor)</h4> 107 <h4>BookmarkNode (Constructor)</h4>
88 <b>BookmarkNode</b>(<i>type_=Root, parent=None</i>) 108 <b>BookmarkNode</b>(<i>type_=Root, parent=None</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>type_</i></dt> 115 <dt><i>type_</i></dt>
93 <dd> 116 <dd>
94 type of the bookmark node (BookmarkNode.Type) 117 type of the bookmark node (BookmarkNode.Type)
95 </dd><dt><i>parent</i></dt> 118 </dd>
119 <dt><i>parent</i></dt>
96 <dd> 120 <dd>
97 reference to the parent node (BookmarkNode) 121 reference to the parent node (BookmarkNode)
98 </dd> 122 </dd>
99 </dl><a NAME="BookmarkNode.add" ID="BookmarkNode.add"></a> 123 </dl>
124 <a NAME="BookmarkNode.add" ID="BookmarkNode.add"></a>
100 <h4>BookmarkNode.add</h4> 125 <h4>BookmarkNode.add</h4>
101 <b>add</b>(<i>child, offset=-1</i>) 126 <b>add</b>(<i>child, offset=-1</i>)
127
102 <p> 128 <p>
103 Public method to add/insert a child node. 129 Public method to add/insert a child node.
104 </p><dl> 130 </p>
131 <dl>
132
105 <dt><i>child</i></dt> 133 <dt><i>child</i></dt>
106 <dd> 134 <dd>
107 reference to the node to add (BookmarkNode) 135 reference to the node to add (BookmarkNode)
108 </dd><dt><i>offset</i></dt> 136 </dd>
137 <dt><i>offset</i></dt>
109 <dd> 138 <dd>
110 position where to insert child (integer, -1 = append) 139 position where to insert child (integer, -1 = append)
111 </dd> 140 </dd>
112 </dl><a NAME="BookmarkNode.children" ID="BookmarkNode.children"></a> 141 </dl>
142 <a NAME="BookmarkNode.children" ID="BookmarkNode.children"></a>
113 <h4>BookmarkNode.children</h4> 143 <h4>BookmarkNode.children</h4>
114 <b>children</b>(<i></i>) 144 <b>children</b>(<i></i>)
145
115 <p> 146 <p>
116 Public method to get the list of child nodes. 147 Public method to get the list of child nodes.
117 </p><dl> 148 </p>
149 <dl>
118 <dt>Returns:</dt> 150 <dt>Returns:</dt>
119 <dd> 151 <dd>
120 list of all child nodes (list of BookmarkNode) 152 list of all child nodes (list of BookmarkNode)
121 </dd> 153 </dd>
122 </dl><a NAME="BookmarkNode.parent" ID="BookmarkNode.parent"></a> 154 </dl>
155 <a NAME="BookmarkNode.parent" ID="BookmarkNode.parent"></a>
123 <h4>BookmarkNode.parent</h4> 156 <h4>BookmarkNode.parent</h4>
124 <b>parent</b>(<i></i>) 157 <b>parent</b>(<i></i>)
158
125 <p> 159 <p>
126 Public method to get a reference to the parent node. 160 Public method to get a reference to the parent node.
127 </p><dl> 161 </p>
162 <dl>
128 <dt>Returns:</dt> 163 <dt>Returns:</dt>
129 <dd> 164 <dd>
130 reference to the parent node (BookmarkNode) 165 reference to the parent node (BookmarkNode)
131 </dd> 166 </dd>
132 </dl><a NAME="BookmarkNode.remove" ID="BookmarkNode.remove"></a> 167 </dl>
168 <a NAME="BookmarkNode.remove" ID="BookmarkNode.remove"></a>
133 <h4>BookmarkNode.remove</h4> 169 <h4>BookmarkNode.remove</h4>
134 <b>remove</b>(<i>child</i>) 170 <b>remove</b>(<i>child</i>)
171
135 <p> 172 <p>
136 Public method to remove a child node. 173 Public method to remove a child node.
137 </p><dl> 174 </p>
175 <dl>
176
138 <dt><i>child</i></dt> 177 <dt><i>child</i></dt>
139 <dd> 178 <dd>
140 reference to the child node (BookmarkNode) 179 reference to the child node (BookmarkNode)
141 </dd> 180 </dd>
142 </dl><a NAME="BookmarkNode.setType" ID="BookmarkNode.setType"></a> 181 </dl>
182 <a NAME="BookmarkNode.setType" ID="BookmarkNode.setType"></a>
143 <h4>BookmarkNode.setType</h4> 183 <h4>BookmarkNode.setType</h4>
144 <b>setType</b>(<i>type_</i>) 184 <b>setType</b>(<i>type_</i>)
185
145 <p> 186 <p>
146 Public method to set the bookmark's type. 187 Public method to set the bookmark's type.
147 </p><dl> 188 </p>
189 <dl>
190
148 <dt><i>type_</i></dt> 191 <dt><i>type_</i></dt>
149 <dd> 192 <dd>
150 type of the bookmark node (BookmarkNode.Type) 193 type of the bookmark node (BookmarkNode.Type)
151 </dd> 194 </dd>
152 </dl><a NAME="BookmarkNode.type" ID="BookmarkNode.type"></a> 195 </dl>
196 <a NAME="BookmarkNode.type" ID="BookmarkNode.type"></a>
153 <h4>BookmarkNode.type</h4> 197 <h4>BookmarkNode.type</h4>
154 <b>type</b>(<i></i>) 198 <b>type</b>(<i></i>)
199
155 <p> 200 <p>
156 Public method to get the bookmark's type. 201 Public method to get the bookmark's type.
157 </p><dl> 202 </p>
203 <dl>
158 <dt>Returns:</dt> 204 <dt>Returns:</dt>
159 <dd> 205 <dd>
160 bookmark type (BookmarkNode.Type) 206 bookmark type (BookmarkNode.Type)
161 </dd> 207 </dd>
162 </dl> 208 </dl>

eric ide

mercurial