| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.WebKit2WebExtension.Objects.DOMCSSRule
Description
No description available in the introspection data.
Synopsis
- newtype DOMCSSRule = DOMCSSRule (ManagedPtr DOMCSSRule)
- class (GObject o, IsDescendantOf DOMCSSRule o) => IsDOMCSSRule o
- toDOMCSSRule :: (MonadIO m, IsDOMCSSRule o) => o -> m DOMCSSRule
- noDOMCSSRule :: Maybe DOMCSSRule
- dOMCSSRuleGetCssText :: (HasCallStack, MonadIO m, IsDOMCSSRule a) => a -> m Text
- dOMCSSRuleGetParentRule :: (HasCallStack, MonadIO m, IsDOMCSSRule a) => a -> m DOMCSSRule
- dOMCSSRuleGetParentStyleSheet :: (HasCallStack, MonadIO m, IsDOMCSSRule a) => a -> m DOMCSSStyleSheet
- dOMCSSRuleGetRuleType :: (HasCallStack, MonadIO m, IsDOMCSSRule a) => a -> m Word16
- dOMCSSRuleSetCssText :: (HasCallStack, MonadIO m, IsDOMCSSRule a) => a -> Text -> m ()
- clearDOMCSSRuleCssText :: (MonadIO m, IsDOMCSSRule o) => o -> m ()
- constructDOMCSSRuleCssText :: IsDOMCSSRule o => Text -> IO (GValueConstruct o)
- getDOMCSSRuleCssText :: (MonadIO m, IsDOMCSSRule o) => o -> m (Maybe Text)
- setDOMCSSRuleCssText :: (MonadIO m, IsDOMCSSRule o) => o -> Text -> m ()
- getDOMCSSRuleParentRule :: (MonadIO m, IsDOMCSSRule o) => o -> m (Maybe DOMCSSRule)
- getDOMCSSRuleParentStyleSheet :: (MonadIO m, IsDOMCSSRule o) => o -> m (Maybe DOMCSSStyleSheet)
- getDOMCSSRuleType :: (MonadIO m, IsDOMCSSRule o) => o -> m Word32
Exported types
newtype DOMCSSRule Source #
Memory-managed wrapper type.
Constructors
| DOMCSSRule (ManagedPtr DOMCSSRule) |
Instances
| Eq DOMCSSRule Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMCSSRule | |
| IsGValue DOMCSSRule Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMCSSRule | |
| GObject DOMCSSRule Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMCSSRule Methods gobjectType :: IO GType # | |
| HasParentTypes DOMCSSRule Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMCSSRule | |
| type ParentTypes DOMCSSRule Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMCSSRule | |
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
| (GObject o, IsDescendantOf DOMCSSRule o) => IsDOMCSSRule o Source # | |
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.
noDOMCSSRule :: Maybe DOMCSSRule Source #
A convenience alias for Nothing :: Maybe DOMCSSRule.
Methods
Overloaded methods
getCssText
Arguments
| :: (HasCallStack, MonadIO m, IsDOMCSSRule a) | |
| => a |
|
| -> m Text | Returns: A |
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 |
|
| -> m DOMCSSRule | Returns: A |
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 |
|
| -> m DOMCSSStyleSheet | Returns: A |
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 |
|
| -> m Word16 | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setCssText
Arguments
| :: (HasCallStack, MonadIO m, IsDOMCSSRule a) | |
| => a |
|
| -> Text |
|
| -> m () | (Can throw |
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
setdOMCSSRule [ #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