module Graphics.UI.Gtk.WebKit.DOM.HTMLLabelElement
(htmlLabelElementGetForm, htmlLabelElementSetHtmlFor,
htmlLabelElementGetHtmlFor, htmlLabelElementGetControl,
HTMLLabelElement, HTMLLabelElementClass, castToHTMLLabelElement,
gTypeHTMLLabelElement, toHTMLLabelElement)
where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
htmlLabelElementGetForm ::
(HTMLLabelElementClass self) => self -> IO (Maybe HTMLFormElement)
htmlLabelElementGetForm self
= maybeNull (makeNewGObject mkHTMLFormElement)
((\(HTMLLabelElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_label_element_get_form argPtr1)
(toHTMLLabelElement self))
htmlLabelElementSetHtmlFor ::
(HTMLLabelElementClass self, GlibString string) =>
self -> string -> IO ()
htmlLabelElementSetHtmlFor self val
= withUTFString val $
\ valPtr ->
(\(HTMLLabelElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_label_element_set_html_for argPtr1 arg2)
(toHTMLLabelElement self)
valPtr
htmlLabelElementGetHtmlFor ::
(HTMLLabelElementClass self, GlibString string) =>
self -> IO string
htmlLabelElementGetHtmlFor self
= ((\(HTMLLabelElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_label_element_get_html_for argPtr1)
(toHTMLLabelElement self))
>>=
readUTFString
htmlLabelElementGetControl ::
(HTMLLabelElementClass self) => self -> IO (Maybe HTMLElement)
htmlLabelElementGetControl self
= maybeNull (makeNewGObject mkHTMLElement)
((\(HTMLLabelElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_label_element_get_control argPtr1)
(toHTMLLabelElement self))
foreign import ccall safe "webkit_dom_html_label_element_get_form"
webkit_dom_html_label_element_get_form :: ((Ptr HTMLLabelElement) -> (IO (Ptr HTMLFormElement)))
foreign import ccall safe "webkit_dom_html_label_element_set_html_for"
webkit_dom_html_label_element_set_html_for :: ((Ptr HTMLLabelElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_label_element_get_html_for"
webkit_dom_html_label_element_get_html_for :: ((Ptr HTMLLabelElement) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_html_label_element_get_control"
webkit_dom_html_label_element_get_control :: ((Ptr HTMLLabelElement) -> (IO (Ptr HTMLElement)))