KDE 4.5 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

CSSStyleRule Class Reference

from PyKDE4.khtml import *

Inherits: DOM.CSSRule
Namespace: DOM

Detailed Description

The CSSStyleRule interface represents a single <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> rule set in a CSS style sheet.


Methods

 __init__ (self)
 __init__ (self, DOM.CSSStyleRule other)
 __init__ (self, DOM.CSSRule other)
DOM.DOMString selectorText (self)
 setSelectorText (self, DOM.DOMString a0)
DOM.CSSStyleDeclaration style (self)

Method Documentation

__init__ (   self )
__init__ (  self,
DOM.CSSStyleRule  other
)
__init__ (  self,
DOM.CSSRule  other
)
DOM.DOMString selectorText (   self )

The textual representation of the <a href="http://www.w3.org/TR/REC-CSS2/selector.html"> selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.

setSelectorText (  self,
DOM.DOMString  a0
)

see selectorText CSSException SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.

DOMException NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.

DOM.CSSStyleDeclaration style (   self )

The declaration-block of this rule set.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal