1 module webkit2webextension.DOMHTMLAppletElement; 2 3 private import glib.Str; 4 private import webkit2webextension.DOMHTMLElement; 5 private import webkit2webextension.c.functions; 6 public import webkit2webextension.c.types; 7 8 9 /** */ 10 public class DOMHTMLAppletElement : DOMHTMLElement 11 { 12 /** the main Gtk struct */ 13 protected WebKitDOMHTMLAppletElement* webKitDOMHTMLAppletElement; 14 15 /** Get the main Gtk struct */ 16 public WebKitDOMHTMLAppletElement* getDOMHTMLAppletElementStruct(bool transferOwnership = false) 17 { 18 if (transferOwnership) 19 ownedRef = false; 20 return webKitDOMHTMLAppletElement; 21 } 22 23 /** the main Gtk struct as a void* */ 24 protected override void* getStruct() 25 { 26 return cast(void*)webKitDOMHTMLAppletElement; 27 } 28 29 /** 30 * Sets our main struct and passes it to the parent class. 31 */ 32 public this (WebKitDOMHTMLAppletElement* webKitDOMHTMLAppletElement, bool ownedRef = false) 33 { 34 this.webKitDOMHTMLAppletElement = webKitDOMHTMLAppletElement; 35 super(cast(WebKitDOMHTMLElement*)webKitDOMHTMLAppletElement, ownedRef); 36 } 37 38 39 /** */ 40 public static GType getType() 41 { 42 return webkit_dom_html_applet_element_get_type(); 43 } 44 45 /** 46 * 47 * 48 * Deprecated: Use JavaScriptCore API instead 49 * 50 * Returns: A #gchar 51 */ 52 public string getAlign() 53 { 54 auto retStr = webkit_dom_html_applet_element_get_align(webKitDOMHTMLAppletElement); 55 56 scope(exit) Str.freeString(retStr); 57 return Str.toString(retStr); 58 } 59 60 /** 61 * 62 * 63 * Deprecated: Use JavaScriptCore API instead 64 * 65 * Returns: A #gchar 66 */ 67 public string getAlt() 68 { 69 auto retStr = webkit_dom_html_applet_element_get_alt(webKitDOMHTMLAppletElement); 70 71 scope(exit) Str.freeString(retStr); 72 return Str.toString(retStr); 73 } 74 75 /** 76 * 77 * 78 * Deprecated: Use JavaScriptCore API instead 79 * 80 * Returns: A #gchar 81 */ 82 public string getArchive() 83 { 84 auto retStr = webkit_dom_html_applet_element_get_archive(webKitDOMHTMLAppletElement); 85 86 scope(exit) Str.freeString(retStr); 87 return Str.toString(retStr); 88 } 89 90 /** 91 * 92 * 93 * Deprecated: Use JavaScriptCore API instead 94 * 95 * Returns: A #gchar 96 */ 97 public string getCode() 98 { 99 auto retStr = webkit_dom_html_applet_element_get_code(webKitDOMHTMLAppletElement); 100 101 scope(exit) Str.freeString(retStr); 102 return Str.toString(retStr); 103 } 104 105 /** 106 * 107 * 108 * Deprecated: Use JavaScriptCore API instead 109 * 110 * Returns: A #gchar 111 */ 112 public string getCodeBase() 113 { 114 auto retStr = webkit_dom_html_applet_element_get_code_base(webKitDOMHTMLAppletElement); 115 116 scope(exit) Str.freeString(retStr); 117 return Str.toString(retStr); 118 } 119 120 /** 121 * 122 * 123 * Deprecated: Use JavaScriptCore API instead 124 * 125 * Returns: A #gchar 126 */ 127 public string getHeight() 128 { 129 auto retStr = webkit_dom_html_applet_element_get_height(webKitDOMHTMLAppletElement); 130 131 scope(exit) Str.freeString(retStr); 132 return Str.toString(retStr); 133 } 134 135 /** 136 * 137 * 138 * Deprecated: Use JavaScriptCore API instead 139 * 140 * Returns: A #glong 141 */ 142 public glong getHspace() 143 { 144 return webkit_dom_html_applet_element_get_hspace(webKitDOMHTMLAppletElement); 145 } 146 147 /** 148 * 149 * 150 * Deprecated: Use JavaScriptCore API instead 151 * 152 * Returns: A #gchar 153 */ 154 public string getName() 155 { 156 auto retStr = webkit_dom_html_applet_element_get_name(webKitDOMHTMLAppletElement); 157 158 scope(exit) Str.freeString(retStr); 159 return Str.toString(retStr); 160 } 161 162 /** 163 * 164 * 165 * Deprecated: Use JavaScriptCore API instead 166 * 167 * Returns: A #gchar 168 */ 169 public string getObject() 170 { 171 auto retStr = webkit_dom_html_applet_element_get_object(webKitDOMHTMLAppletElement); 172 173 scope(exit) Str.freeString(retStr); 174 return Str.toString(retStr); 175 } 176 177 /** 178 * 179 * 180 * Deprecated: Use JavaScriptCore API instead 181 * 182 * Returns: A #glong 183 */ 184 public glong getVspace() 185 { 186 return webkit_dom_html_applet_element_get_vspace(webKitDOMHTMLAppletElement); 187 } 188 189 /** 190 * 191 * 192 * Deprecated: Use JavaScriptCore API instead 193 * 194 * Returns: A #gchar 195 */ 196 public string getWidth() 197 { 198 auto retStr = webkit_dom_html_applet_element_get_width(webKitDOMHTMLAppletElement); 199 200 scope(exit) Str.freeString(retStr); 201 return Str.toString(retStr); 202 } 203 204 /** 205 * 206 * 207 * Deprecated: Use JavaScriptCore API instead 208 * 209 * Params: 210 * value = A #gchar 211 */ 212 public void setAlign(string value) 213 { 214 webkit_dom_html_applet_element_set_align(webKitDOMHTMLAppletElement, Str.toStringz(value)); 215 } 216 217 /** 218 * 219 * 220 * Deprecated: Use JavaScriptCore API instead 221 * 222 * Params: 223 * value = A #gchar 224 */ 225 public void setAlt(string value) 226 { 227 webkit_dom_html_applet_element_set_alt(webKitDOMHTMLAppletElement, Str.toStringz(value)); 228 } 229 230 /** 231 * 232 * 233 * Deprecated: Use JavaScriptCore API instead 234 * 235 * Params: 236 * value = A #gchar 237 */ 238 public void setArchive(string value) 239 { 240 webkit_dom_html_applet_element_set_archive(webKitDOMHTMLAppletElement, Str.toStringz(value)); 241 } 242 243 /** 244 * 245 * 246 * Deprecated: Use JavaScriptCore API instead 247 * 248 * Params: 249 * value = A #gchar 250 */ 251 public void setCode(string value) 252 { 253 webkit_dom_html_applet_element_set_code(webKitDOMHTMLAppletElement, Str.toStringz(value)); 254 } 255 256 /** 257 * 258 * 259 * Deprecated: Use JavaScriptCore API instead 260 * 261 * Params: 262 * value = A #gchar 263 */ 264 public void setCodeBase(string value) 265 { 266 webkit_dom_html_applet_element_set_code_base(webKitDOMHTMLAppletElement, Str.toStringz(value)); 267 } 268 269 /** 270 * 271 * 272 * Deprecated: Use JavaScriptCore API instead 273 * 274 * Params: 275 * value = A #gchar 276 */ 277 public void setHeight(string value) 278 { 279 webkit_dom_html_applet_element_set_height(webKitDOMHTMLAppletElement, Str.toStringz(value)); 280 } 281 282 /** 283 * 284 * 285 * Deprecated: Use JavaScriptCore API instead 286 * 287 * Params: 288 * value = A #glong 289 */ 290 public void setHspace(glong value) 291 { 292 webkit_dom_html_applet_element_set_hspace(webKitDOMHTMLAppletElement, value); 293 } 294 295 /** 296 * 297 * 298 * Deprecated: Use JavaScriptCore API instead 299 * 300 * Params: 301 * value = A #gchar 302 */ 303 public void setName(string value) 304 { 305 webkit_dom_html_applet_element_set_name(webKitDOMHTMLAppletElement, Str.toStringz(value)); 306 } 307 308 /** 309 * 310 * 311 * Deprecated: Use JavaScriptCore API instead 312 * 313 * Params: 314 * value = A #gchar 315 */ 316 public void setObject(string value) 317 { 318 webkit_dom_html_applet_element_set_object(webKitDOMHTMLAppletElement, Str.toStringz(value)); 319 } 320 321 /** 322 * 323 * 324 * Deprecated: Use JavaScriptCore API instead 325 * 326 * Params: 327 * value = A #glong 328 */ 329 public void setVspace(glong value) 330 { 331 webkit_dom_html_applet_element_set_vspace(webKitDOMHTMLAppletElement, value); 332 } 333 334 /** 335 * 336 * 337 * Deprecated: Use JavaScriptCore API instead 338 * 339 * Params: 340 * value = A #gchar 341 */ 342 public void setWidth(string value) 343 { 344 webkit_dom_html_applet_element_set_width(webKitDOMHTMLAppletElement, Str.toStringz(value)); 345 } 346 }