 
 -- | transparent background of the 'WebView' instance
 webViewTransparent :: WebViewClass self => Attr self Bool
-webViewTransparent = newAttr
-  webViewGetTransparent
-  webViewSetTransparent
+webViewTransparent = newAttrFromBoolProperty "transparent"
 
 -- | Whether content of the 'WebView' can be modified by the user
 --
 -- Default value: @False@
 webViewEditable :: WebViewClass self => Attr self Bool
-webViewEditable = newAttr
-  webViewGetEditable
-  webViewSetEditable
+webViewEditable = newAttrFromBoolProperty "editable"
 
 -- | Returns the current URI of the contents displayed by the @web_view@.
 --
 -- Default value: Nothing
 webViewUri :: (WebViewClass self, GlibString string) => ReadAttr self (Maybe string)
-webViewUri = readAttr webViewGetUri
+webViewUri = readAttrFromMaybeStringProperty "uri"
 
 -- | The list of targets this web view supports for clipboard copying.
 webViewCopyTargetList :: WebViewClass self => ReadAttr self (Maybe TargetList)


#if WEBKIT_CHECK_VERSION(1,3,4)
-- | Gets the value of the "view-mode" property of the 'WebView'
webViewGetViewMode :: WebView -> IO ViewMode
webViewGetViewMode = liftM (toEnum . fromIntegral) . {#call web_view_get_view_source_mode#}

webViewSetViewMode :: WebView -> ViewMode -> IO ()
webViewSetViewMode webView viewMode = {#call web_view_set_view_source_mode#} webView (fromIntegral . fromEnum $ viewMode)
#endif

-- | Returns whether 'WebView' is in view source mode

#endif

-- * Attributes
#if WEBKIT_CHECK_VERSION(1,0,1)
  webViewZoomLevel,
#endif
  webViewFullContentZoom,
  webViewEncoding,
  webViewCustomEncoding,
