gi-webkit2webextension-4.0.21: 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.DOMHTMLCanvasElement

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

toDOMHTMLCanvasElement :: (MonadIO m, IsDOMHTMLCanvasElement o) => o -> m DOMHTMLCanvasElement Source #

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

Methods

getHeight

dOMHTMLCanvasElementGetHeight Source #

Arguments

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

self: A DOMHTMLCanvasElement

-> m CLong

Returns: A glong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getWidth

dOMHTMLCanvasElementGetWidth Source #

Arguments

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

self: A DOMHTMLCanvasElement

-> m CLong

Returns: A glong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setHeight

dOMHTMLCanvasElementSetHeight Source #

Arguments

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

self: A DOMHTMLCanvasElement

-> CLong

value: A glong

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setWidth

dOMHTMLCanvasElementSetWidth Source #

Arguments

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

self: A DOMHTMLCanvasElement

-> CLong

value: A glong

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Properties

height

No description available in the introspection data.

constructDOMHTMLCanvasElementHeight :: IsDOMHTMLCanvasElement o => CLong -> IO (GValueConstruct o) Source #

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

getDOMHTMLCanvasElementHeight :: (MonadIO m, IsDOMHTMLCanvasElement o) => o -> m CLong Source #

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

get dOMHTMLCanvasElement #height

setDOMHTMLCanvasElementHeight :: (MonadIO m, IsDOMHTMLCanvasElement o) => o -> CLong -> m () Source #

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

set dOMHTMLCanvasElement [ #height := value ]

width

No description available in the introspection data.

constructDOMHTMLCanvasElementWidth :: IsDOMHTMLCanvasElement o => CLong -> IO (GValueConstruct o) Source #

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

getDOMHTMLCanvasElementWidth :: (MonadIO m, IsDOMHTMLCanvasElement o) => o -> m CLong Source #

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

get dOMHTMLCanvasElement #width

setDOMHTMLCanvasElementWidth :: (MonadIO m, IsDOMHTMLCanvasElement o) => o -> CLong -> m () Source #

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

set dOMHTMLCanvasElement [ #width := value ]