#### PyKDE - Python Bindings for KDE

# class DOM.CSSRule |
Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.CSSRule
Inherits |

### enums

- RuleType = {UNKNOWN_RULE, STYLE_RULE, CHARSET_RULE, IMPORT_RULE, MEDIA_RULE, FONT_FACE_RULE, PAGE_RULE, QUIRKS_RULE }
- RuleType = {UNKNOWN_RULE, STYLE_RULE, CHARSET_RULE, IMPORT_RULE, MEDIA_RULE, FONT_FACE_RULE, PAGE_RULE }

### methods

- CSSRule ()

  returns a CSSRule instance

- CSSRule (other)

  returns a CSSRule instance
  Argument | Type | Default
  --- | --- | ---
  other | DOM.CSSRule |

- CSSRule (impl)

  Not Implemented

- assignOther (other, thisType)

  returns nothing
  In versions KDE 3.0.1 and above only
  Argument | Type | Default
  --- | --- | ---
  other | DOM.CSSRule |
  thisType | DOM.CSSRule.RuleType |

- cssText ()

  returns (DOM.DOMString)

- handle ()

  Not Implemented

- isNull ()

  returns (bool)

- parentRule ()

  returns (DOM.CSSRule)

- parentStyleSheet ()

  returns (DOM.CSSStyleSheet)

- setCssText (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

- type ()

  returns (ushort)