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

CSSValue Class Reference

from PyKDE4.khtml import *

Subclasses: DOM.CSSPrimitiveValue, DOM.CSSValueList
Namespace: DOM

Detailed Description

The CSSValue interface represents a simple or a complexe value.


Enumerations

UnitTypes { CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST, CSS_CUSTOM, CSS_INITIAL }

Methods

 __init__ (self)
 __init__ (self, DOM.CSSValue other)
 __init__ (self, CSSValueImpl impl)
DOM.DOMString cssText (self)
long cssValueType (self)
CSSValueImpl handle (self)
bool isCSSPrimitiveValue (self)
bool isCSSValueList (self)
bool isNull (self)
 setCssText (self, DOM.DOMString a0)

Method Documentation

__init__ (   self )
__init__ (  self,
DOM.CSSValue  other
)
__init__ (  self,
CSSValueImpl  impl
)
DOM.DOMString cssText (   self )

A string representation of the current value.

long cssValueType (   self )

A code defining the type of the value as defined above.

CSSValueImpl handle (   self )
bool isCSSPrimitiveValue (   self )
bool isCSSValueList (   self )

Internal:
not part of the DOM

bool isNull (   self )
setCssText (  self,
DOM.DOMString  a0
)

see cssText 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 declaration is readonly.


Enumeration Documentation

UnitTypes

An integer indicating which type of unit applies to the value.

All CSS2 constants are not supposed to be required by the implementation since all CSS2 interfaces are optionals.

Enumerator:
CSS_INHERIT = 0
CSS_PRIMITIVE_VALUE = 1
CSS_VALUE_LIST = 2
CSS_CUSTOM = 3
CSS_INITIAL = 4

  • Full Index

Modules

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