{-# LINE 2 "./Graphics/UI/Gtk/WebKit/HitTestResult.chs" #-}-- -*-haskell-*-------------------------------------------------------------------------------- Module : Graphics.UI.Gtk.WebKit.HitTestResult-- Author : Andy Stewart-- Copyright : (c) 2010 Andy Stewart <lazycat.manatee@gmail.com>---- This library is free software; you can redistribute it and/or-- modify it under the terms of the GNU Lesser General Public-- License as published by the Free Software Foundation; either-- version 2.1 of the License, or (at your option) any later version.---- This library is distributed in the hope that it will be useful,-- but WITHOUT ANY WARRANTY; without even the implied warranty of-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU-- Lesser General Public License for more details.---- |-- Maintainer : gtk2hs-users@lists.sourceforge.net-- Stability : provisional-- Portability : portable (depends on GHC)---- Access to the WebKit Web Resource-----------------------------------------------------------------------------moduleGraphics.UI.Gtk.WebKit.HitTestResult(-- * Description-- | This class holds context information about the coordinates specified by a GDK event.-- * TypesHitTestResult,HitTestResultClass,-- * Enums.HitTestResultContext(..),)whereimportSystem.Glib.FFIimportSystem.Glib.GListimportSystem.Glib.GErrorimportGraphics.UI.Gtk.Gdk.EventsimportGraphics.UI.Gtk.Abstract.Object(makeNewObject)importGraphics.UI.Gtk.WebKit.Types{-# LINE 45 "./Graphics/UI/Gtk/WebKit/HitTestResult.chs" #-}importSystem.Glib.GObject{-# LINE 46 "./Graphics/UI/Gtk/WebKit/HitTestResult.chs" #-}{-# LINE 48 "./Graphics/UI/Gtk/WebKit/HitTestResult.chs" #-}-- * Enums.dataHitTestResultContext=HitTestResultContextDocument|HitTestResultContextLink|HitTestResultContextImage|HitTestResultContextMedia|HitTestResultContextSelection|HitTestResultContextEditableinstanceEnumHitTestResultContextwherefromEnumHitTestResultContextDocument=2fromEnumHitTestResultContextLink=4fromEnumHitTestResultContextImage=8fromEnumHitTestResultContextMedia=16fromEnumHitTestResultContextSelection=32fromEnumHitTestResultContextEditable=64toEnum2=HitTestResultContextDocumenttoEnum4=HitTestResultContextLinktoEnum8=HitTestResultContextImagetoEnum16=HitTestResultContextMediatoEnum32=HitTestResultContextSelectiontoEnum64=HitTestResultContextEditabletoEnumunmatched=error("HitTestResultContext.toEnum: Cannot match "++showunmatched)succHitTestResultContextDocument=HitTestResultContextLinksuccHitTestResultContextLink=HitTestResultContextImagesuccHitTestResultContextImage=HitTestResultContextMediasuccHitTestResultContextMedia=HitTestResultContextSelectionsuccHitTestResultContextSelection=HitTestResultContextEditablesucc_=undefinedpredHitTestResultContextLink=HitTestResultContextDocumentpredHitTestResultContextImage=HitTestResultContextLinkpredHitTestResultContextMedia=HitTestResultContextImagepredHitTestResultContextSelection=HitTestResultContextMediapredHitTestResultContextEditable=HitTestResultContextSelectionpred_=undefinedenumFromToxy|fromEnumx==fromEnumy=[y]|otherwise=x:enumFromTo(succx)yenumFromx=enumFromToxHitTestResultContextEditableenumFromThen__=error"Enum HitTestResultContext: enumFromThen not implemented"enumFromThenTo___=error"Enum HitTestResultContext: enumFromThenTo not implemented"{-# LINE 52 "./Graphics/UI/Gtk/WebKit/HitTestResult.chs" #-}