gi-webkit2webextension-4.0.23: WebKit2-WebExtension bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMCSSStyleSheet

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf DOMCSSStyleSheet o) => IsDOMCSSStyleSheet o Source #

Type class for types which can be safely cast to DOMCSSStyleSheet, for instance with toDOMCSSStyleSheet.

toDOMCSSStyleSheet :: (MonadIO m, IsDOMCSSStyleSheet o) => o -> m DOMCSSStyleSheet Source #

Cast to DOMCSSStyleSheet, for types for which this is known to be safe. For general casts, use castTo.

Methods

addRule

dOMCSSStyleSheetAddRule Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> Text

selector: A gchar

-> Text

style: A gchar

-> CULong

index: A gulong

-> m CLong

Returns: A glong (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

deleteRule

dOMCSSStyleSheetDeleteRule Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> CULong

index: A gulong

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getCssRules

dOMCSSStyleSheetGetCssRules Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> m DOMCSSRuleList

Returns: A DOMCSSRuleList

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getOwnerRule

dOMCSSStyleSheetGetOwnerRule Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> m DOMCSSRule

Returns: A DOMCSSRule

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getRules

dOMCSSStyleSheetGetRules Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> m DOMCSSRuleList

Returns: A DOMCSSRuleList

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

insertRule

dOMCSSStyleSheetInsertRule Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> Text

rule: A gchar

-> CULong

index: A gulong

-> m CULong

Returns: A gulong (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

removeRule

dOMCSSStyleSheetRemoveRule Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMCSSStyleSheet a) 
=> a

self: A DOMCSSStyleSheet

-> CULong

index: A gulong

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Properties

cssRules

No description available in the introspection data.

getDOMCSSStyleSheetCssRules :: (MonadIO m, IsDOMCSSStyleSheet o) => o -> m (Maybe DOMCSSRuleList) Source #

Get the value of the “css-rules” property. When overloading is enabled, this is equivalent to

get dOMCSSStyleSheet #cssRules

ownerRule

No description available in the introspection data.

getDOMCSSStyleSheetOwnerRule :: (MonadIO m, IsDOMCSSStyleSheet o) => o -> m (Maybe DOMCSSRule) Source #

Get the value of the “owner-rule” property. When overloading is enabled, this is equivalent to

get dOMCSSStyleSheet #ownerRule

rules

No description available in the introspection data.

getDOMCSSStyleSheetRules :: (MonadIO m, IsDOMCSSStyleSheet o) => o -> m (Maybe DOMCSSRuleList) Source #

Get the value of the “rules” property. When overloading is enabled, this is equivalent to

get dOMCSSStyleSheet #rules