libdom
Loading...
Searching...
No Matches
html_opt_group_element.h File Reference
#include <stdbool.h>
#include <dom/core/exceptions.h>
#include <dom/core/string.h>
#include <dom/html/html_form_element.h>

Go to the source code of this file.

Typedefs

typedef struct dom_html_opt_group_element dom_html_opt_group_element
 

Functions

dom_exception dom_html_opt_group_element_get_form (dom_html_opt_group_element *opt_group, dom_html_form_element **form)
 
dom_exception dom_html_opt_group_element_get_disabled (dom_html_opt_group_element *opt_group, bool *disabled)
 
dom_exception dom_html_opt_group_element_set_disabled (dom_html_opt_group_element *opt_group, bool disabled)
 
dom_exception dom_html_opt_group_element_get_label (dom_html_opt_group_element *opt_group, dom_string **label)
 
dom_exception dom_html_opt_group_element_set_label (dom_html_opt_group_element *opt_group, dom_string *label)
 

Typedef Documentation

◆ dom_html_opt_group_element

typedef struct dom_html_opt_group_element dom_html_opt_group_element

Function Documentation

◆ dom_html_opt_group_element_get_disabled()

dom_exception dom_html_opt_group_element_get_disabled ( dom_html_opt_group_element * ele,
bool * disabled )

Get the disabled property

Parameters
eleThe dom_html_opt_group_element object
disabledThe returned status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_opt_group_element_get_form()

dom_exception dom_html_opt_group_element_get_form ( dom_html_opt_group_element * opt_group,
dom_html_form_element ** form )

◆ dom_html_opt_group_element_get_label()

dom_exception dom_html_opt_group_element_get_label ( dom_html_opt_group_element * opt_group,
dom_string ** label )

◆ dom_html_opt_group_element_set_disabled()

dom_exception dom_html_opt_group_element_set_disabled ( dom_html_opt_group_element * ele,
bool disabled )

Set the disabled property

Parameters
eleThe dom_html_opt_group_element object
disabledThe status
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ dom_html_opt_group_element_set_label()

dom_exception dom_html_opt_group_element_set_label ( dom_html_opt_group_element * opt_group,
dom_string * label )