#### 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 = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3, MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6, QUIRKS_RULE = 100 }
- RuleType = {UNKNOWN_RULE = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3, MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6 }

### 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)