Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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 Daniel Silverstone <dsilvers@netsurf-browser.org>
  6.  */
  7.  
  8. #ifndef dom_html_text_area_element_h_
  9. #define dom_html_text_area_element_h_
  10.  
  11. #include <stdbool.h>
  12. #include <dom/core/exceptions.h>
  13. #include <dom/core/string.h>
  14. #include <dom/html/html_form_element.h>
  15.  
  16. typedef struct dom_html_text_area_element dom_html_text_area_element;
  17.  
  18. dom_exception dom_html_text_area_element_get_default_value(
  19.         dom_html_text_area_element *text_area, dom_string **default_value);
  20.  
  21. dom_exception dom_html_text_area_element_set_default_value(
  22.         dom_html_text_area_element *text_area, dom_string *default_value);
  23.  
  24. dom_exception dom_html_text_area_element_get_form(
  25.         dom_html_text_area_element *text_area, dom_html_form_element **form);
  26.  
  27. dom_exception dom_html_text_area_element_get_access_key(
  28.         dom_html_text_area_element *text_area, dom_string **access_key);
  29.  
  30. dom_exception dom_html_text_area_element_set_access_key(
  31.         dom_html_text_area_element *text_area, dom_string *access_key);
  32.  
  33. dom_exception dom_html_text_area_element_get_disabled(
  34.         dom_html_text_area_element *text_area, bool *disabled);
  35.  
  36. dom_exception dom_html_text_area_element_set_disabled(
  37.         dom_html_text_area_element *text_area, bool disabled);
  38.  
  39. dom_exception dom_html_text_area_element_get_cols(
  40.         dom_html_text_area_element *text_area, int32_t *cols);
  41.  
  42. dom_exception dom_html_text_area_element_set_cols(
  43.         dom_html_text_area_element *text_area, uint32_t cols);
  44.  
  45. dom_exception dom_html_text_area_element_get_rows(
  46.         dom_html_text_area_element *text_area, int32_t *rows);
  47.  
  48. dom_exception dom_html_text_area_element_set_rows(
  49.         dom_html_text_area_element *text_area, uint32_t rows);
  50.  
  51. dom_exception dom_html_text_area_element_get_name(
  52.         dom_html_text_area_element *text_area, dom_string **name);
  53.  
  54. dom_exception dom_html_text_area_element_set_name(
  55.         dom_html_text_area_element *text_area, dom_string *name);
  56.  
  57. dom_exception dom_html_text_area_element_get_read_only(
  58.         dom_html_text_area_element *text_area, bool *read_only);
  59.  
  60. dom_exception dom_html_text_area_element_set_read_only(
  61.         dom_html_text_area_element *text_area, bool read_only);
  62.  
  63. dom_exception dom_html_text_area_element_get_tab_index(
  64.         dom_html_text_area_element *text_area, int32_t *tab_index);
  65.  
  66. dom_exception dom_html_text_area_element_set_tab_index(
  67.         dom_html_text_area_element *text_area, uint32_t tab_index);
  68.  
  69. dom_exception dom_html_text_area_element_get_type(
  70.         dom_html_text_area_element *text_area, dom_string **type);
  71.  
  72. dom_exception dom_html_text_area_element_get_value(
  73.         dom_html_text_area_element *text_area, dom_string **value);
  74.  
  75. dom_exception dom_html_text_area_element_set_value(
  76.         dom_html_text_area_element *text_area, dom_string *value);
  77.  
  78. dom_exception dom_html_text_area_element_blur(dom_html_text_area_element *ele);
  79. dom_exception dom_html_text_area_element_focus(dom_html_text_area_element *ele);
  80. dom_exception dom_html_text_area_element_select(dom_html_text_area_element *ele);
  81.  
  82. #endif
  83.