1 module webkit2webextension.DOMHTMLDirectoryElement;
2 
3 private import webkit2webextension.DOMHTMLElement;
4 private import webkit2webextension.c.functions;
5 public  import webkit2webextension.c.types;
6 
7 
8 /** */
9 public class DOMHTMLDirectoryElement : DOMHTMLElement
10 {
11 	/** the main Gtk struct */
12 	protected WebKitDOMHTMLDirectoryElement* webKitDOMHTMLDirectoryElement;
13 
14 	/** Get the main Gtk struct */
15 	public WebKitDOMHTMLDirectoryElement* getDOMHTMLDirectoryElementStruct(bool transferOwnership = false)
16 	{
17 		if (transferOwnership)
18 			ownedRef = false;
19 		return webKitDOMHTMLDirectoryElement;
20 	}
21 
22 	/** the main Gtk struct as a void* */
23 	protected override void* getStruct()
24 	{
25 		return cast(void*)webKitDOMHTMLDirectoryElement;
26 	}
27 
28 	/**
29 	 * Sets our main struct and passes it to the parent class.
30 	 */
31 	public this (WebKitDOMHTMLDirectoryElement* webKitDOMHTMLDirectoryElement, bool ownedRef = false)
32 	{
33 		this.webKitDOMHTMLDirectoryElement = webKitDOMHTMLDirectoryElement;
34 		super(cast(WebKitDOMHTMLElement*)webKitDOMHTMLDirectoryElement, ownedRef);
35 	}
36 
37 
38 	/** */
39 	public static GType getType()
40 	{
41 		return webkit_dom_html_directory_element_get_type();
42 	}
43 
44 	/**
45 	 *
46 	 *
47 	 * Deprecated: Use JavaScriptCore API instead
48 	 *
49 	 * Returns: A #gboolean
50 	 */
51 	public bool getCompact()
52 	{
53 		return webkit_dom_html_directory_element_get_compact(webKitDOMHTMLDirectoryElement) != 0;
54 	}
55 
56 	/**
57 	 *
58 	 *
59 	 * Deprecated: Use JavaScriptCore API instead
60 	 *
61 	 * Params:
62 	 *     value = A #gboolean
63 	 */
64 	public void setCompact(bool value)
65 	{
66 		webkit_dom_html_directory_element_set_compact(webKitDOMHTMLDirectoryElement, value);
67 	}
68 }