diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-04-14 20:01:20 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-04-14 21:54:21 +0200 |
commit | 07c0a84ec428f6e47226d74db4869d1f0b8b086f (patch) | |
tree | 3762b86794e8e56d6fecc8a471248b9325e03737 /src/dom.h | |
parent | cdf7389ab3c4876a2701d79bffc0451e60958b2d (diff) |
Added command to open input boxes or text areas with editor (#15).
Diffstat (limited to 'src/dom.h')
-rw-r--r-- | src/dom.h | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -23,11 +23,14 @@ #include <webkit/webkit.h> // Types -#define Document WebKitDOMDocument -#define HtmlElement WebKitDOMHTMLElement -#define Element WebKitDOMElement -#define Event WebKitDOMEvent -#define EventTarget WebKitDOMEventTarget +#define Document WebKitDOMDocument +#define HtmlElement WebKitDOMHTMLElement +#define Element WebKitDOMElement +#define Node WebKitDOMNode +#define Event WebKitDOMEvent +#define EventTarget WebKitDOMEventTarget +#define HtmlInputElement WebKitDOMHTMLInputElement +#define HtmlTextareaElement WebKitDOMHTMLTextAreaElement // style #define style_compare_property(style, name, value) (!strcmp(webkit_dom_css_style_declaration_get_property_value(style, name), value)) @@ -43,5 +46,8 @@ void dom_check_auto_insert(WebKitWebView *view); void dom_clear_focus(WebKitWebView *view); gboolean dom_is_editable(Element *element); Element *dom_get_active_element(WebKitWebView *view); +const char *dom_editable_element_get_value(Element *element); +void dom_editable_element_set_value(Element *element, const char *value); +void dom_editable_element_set_disable(Element *element, gboolean value); #endif /* end of include guard: _DOM_H */ |