Changes between Version 6 and Version 7 of documentation/PythonManual/APIReference
- Timestamp:
- 04/08/08 12:52:40 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/PythonManual/APIReference
v6 v7 101 101 Inserts the element ''element'' as a child of this element, directly before ''adjacent_element'' in the list of children. 102 102 103 '''IsClassSet'''(''name''):: 104 Returns true if the class ''name'' is set on the element, false if not. 105 103 106 '''RemoveAttribute'''(''name''):: 104 107 Removes the attribute named ''name'' from the element. 116 119 Sets the value of the attribute named ''name'' to ''value''. 117 120 121 '''SetClass'''(''name'', ''value''):: 122 Sets (if ''value'' is true) or clears (if ''value'' is false) the class ''name'' on the element. 123 118 124 '''attributes''':: 119 125 The array of attributes on the element. Each element has the read-only properties ''name'' and ''value''. Read-only. 308 314 Returns the leaf of the context's focus tree. Read-only. 309 315 316 '''hover_element''':: 317 Returns the element under the context's cursor. Read-only. 318 310 319 '''name''':: 311 320 The name of the context, specified at construction. Read-only. 312 321 322 '''root_element''':: 323 Returns the context's root element. Read-only. 324 313 325 = Controls API Reference = 314 326 418 430 Sets the contents of a tab to the RML content ''rml''. If ''index'' is out-of-bounds, a new tab will be added at the end. 419 431 432 '''active_tab''': 433 Index of the active panel. 434 420 435 '''num_tabs''':: 421 436 The number of tabs in the tab set. Read-only.