File: css.pyi

package info (click to toggle)
gajim 2.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,512 kB
  • sloc: python: 79,978; sh: 591; xml: 67; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from __future__ import annotations

from typing import Any

class CSSRule:
    STYLE_RULE: int

class CSSStyleSheet:
    cssText: bytes

    def __iter__(self) -> CSSStyleRule: ...
    def add(self, rule: CSSStyleRule) -> None: ...

class CSSStyleRule(CSSRule):
    style: CSSStyleDeclaration
    type: int
    selectorText: str

    def __init__(self, selectorText: str) -> None: ...
    def __next__(self) -> CSSStyleRule: ...

class CSSStyleDeclaration:
    def __getitem__(self, cssname: str) -> str: ...
    def __setitem__(self, cssname: str, value: Any) -> None: ...
    def getPropertyValue(self, property: str) -> Any: ...
    def removeProperty(self, property: str) -> None: ...