gi-webkit2webextension-4.0.24: WebKit2-WebExtension bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMCSSRule

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf DOMCSSRule o) => IsDOMCSSRule o Source #

Type class for types which can be safely cast to DOMCSSRule, for instance with toDOMCSSRule.

Instances

Instances details
(GObject o, IsDescendantOf DOMCSSRule o) => IsDOMCSSRule o Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMCSSRule

toDOMCSSRule :: (MonadIO m, IsDOMCSSRule o) => o -> m DOMCSSRule Source #

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

Methods

Overloaded methods

getCssText

dOMCSSRuleGetCssText Source #

Arguments

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

self: A DOMCSSRule

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getParentRule

dOMCSSRuleGetParentRule Source #

Arguments

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

self: A DOMCSSRule

-> m DOMCSSRule

Returns: A DOMCSSRule

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getParentStyleSheet

dOMCSSRuleGetParentStyleSheet Source #

Arguments

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

self: A DOMCSSRule

-> m DOMCSSStyleSheet

Returns: A DOMCSSStyleSheet

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getRuleType

dOMCSSRuleGetRuleType Source #

Arguments

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

self: A DOMCSSRule

-> m Word16

Returns: A gushort

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setCssText

dOMCSSRuleSetCssText Source #

Arguments

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

self: A DOMCSSRule

-> Text

value: A gchar

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Properties

cssText

No description available in the introspection data.

clearDOMCSSRuleCssText :: (MonadIO m, IsDOMCSSRule o) => o -> m () Source #

Set the value of the “css-text” property to Nothing. When overloading is enabled, this is equivalent to

clear #cssText

constructDOMCSSRuleCssText :: IsDOMCSSRule o => Text -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “css-text” property. This is rarely needed directly, but it is used by new.

getDOMCSSRuleCssText :: (MonadIO m, IsDOMCSSRule o) => o -> m (Maybe Text) Source #

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

get dOMCSSRule #cssText

setDOMCSSRuleCssText :: (MonadIO m, IsDOMCSSRule o) => o -> Text -> m () Source #

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

set dOMCSSRule [ #cssText := value ]

parentRule

No description available in the introspection data.

getDOMCSSRuleParentRule :: (MonadIO m, IsDOMCSSRule o) => o -> m (Maybe DOMCSSRule) Source #

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

get dOMCSSRule #parentRule

parentStyleSheet

No description available in the introspection data.

getDOMCSSRuleParentStyleSheet :: (MonadIO m, IsDOMCSSRule o) => o -> m (Maybe DOMCSSStyleSheet) Source #

Get the value of the “parent-style-sheet” property. When overloading is enabled, this is equivalent to

get dOMCSSRule #parentStyleSheet

type

No description available in the introspection data.

getDOMCSSRuleType :: (MonadIO m, IsDOMCSSRule o) => o -> m Word32 Source #

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

get dOMCSSRule #type