Changes between Version 6 and Version 7 of documentation/PythonManual/APIReference

Show
Ignore:
Author:
peterc (IP: 203.96.63.172)
Timestamp:
04/08/08 12:52:40 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/PythonManual/APIReference

    v6 v7  
    101101   Inserts the element ''element'' as a child of this element, directly before ''adjacent_element'' in the list of children. 
    102102 
     103 '''IsClassSet'''(''name''):: 
     104   Returns true if the class ''name'' is set on the element, false if not. 
     105 
    103106 '''RemoveAttribute'''(''name''):: 
    104107   Removes the attribute named ''name'' from the element. 
    116119   Sets the value of the attribute named ''name'' to ''value''. 
    117120 
     121 '''SetClass'''(''name'', ''value''):: 
     122   Sets (if ''value'' is true) or clears (if ''value'' is false) the class ''name'' on the element. 
     123 
    118124 '''attributes''':: 
    119125   The array of attributes on the element. Each element has the read-only properties ''name'' and ''value''. Read-only. 
    308314   Returns the leaf of the context's focus tree. Read-only. 
    309315 
     316 '''hover_element''':: 
     317   Returns the element under the context's cursor. Read-only. 
     318 
    310319 '''name''':: 
    311320   The name of the context, specified at construction. Read-only. 
    312321 
     322 '''root_element''':: 
     323   Returns the context's root element. Read-only. 
     324 
    313325= Controls API Reference = 
    314326 
    418430   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. 
    419431 
     432 '''active_tab''': 
     433   Index of the active panel. 
     434 
    420435 '''num_tabs''':: 
    421436   The number of tabs in the tab set. Read-only.