libdom
Loading...
Searching...
No Matches
html_option_element.h
Go to the documentation of this file.
1/*
2 * This file is part of libdom.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2012 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef dom_html_option_element_h_
9#define dom_html_option_element_h_
10
11#include <stdbool.h>
12#include <dom/core/exceptions.h>
13#include <dom/core/string.h>
15
17
20
23
26
28 dom_html_option_element *option, dom_string **text);
29
31 dom_html_option_element *option, int32_t *index);
32
34 dom_html_option_element *option, bool *disabled);
35
37 dom_html_option_element *option, bool disabled);
38
40 dom_html_option_element *option, dom_string **label);
41
43 dom_html_option_element *option, dom_string *label);
44
46 dom_html_option_element *option, bool *selected);
47
49 dom_html_option_element *option, bool selected);
50
52 dom_html_option_element *option, dom_string **value);
53
55 dom_html_option_element *option, dom_string *value);
56
57#endif
dom_exception
Definition exceptions.h:24
dom_exception dom_html_option_element_get_text(dom_html_option_element *option, dom_string **text)
Definition html_option_element.c:241
dom_exception dom_html_option_element_set_label(dom_html_option_element *option, dom_string *label)
Definition html_option_element.c:327
dom_exception dom_html_option_element_set_value(dom_html_option_element *option, dom_string *value)
Definition html_option_element.c:402
dom_exception dom_html_option_element_get_default_selected(dom_html_option_element *option, bool *default_selected)
Definition html_option_element.c:130
dom_exception dom_html_option_element_get_form(dom_html_option_element *option, dom_html_form_element **form)
Definition html_option_element.c:95
dom_exception dom_html_option_element_get_value(dom_html_option_element *option, dom_string **value)
Definition html_option_element.c:373
dom_exception dom_html_option_element_set_default_selected(dom_html_option_element *option, bool default_selected)
Definition html_option_element.c:145
dom_exception dom_html_option_element_get_label(dom_html_option_element *option, dom_string **label)
Definition html_option_element.c:309
dom_exception dom_html_option_element_get_selected(dom_html_option_element *option, bool *selected)
Definition html_option_element.c:345
dom_exception dom_html_option_element_set_selected(dom_html_option_element *option, bool selected)
Definition html_option_element.c:359
dom_exception dom_html_option_element_get_disabled(dom_html_option_element *option, bool *disabled)
Definition html_option_element.c:281
dom_exception dom_html_option_element_set_disabled(dom_html_option_element *option, bool disabled)
Definition html_option_element.c:295
dom_exception dom_html_option_element_get_index(dom_html_option_element *option, int32_t *index)
Definition html_option_element.c:255
Definition html_form_element.h:17
Definition html_option_element.h:15
bool default_selected
Definition html_option_element.h:18
Definition string.h:19