|
Nebula
|
An RmlUi document.
Inherits Nebula.Ui.Element.
Public Member Functions | |
| void | Show () |
| void | Hide () |
| void | Close () |
| Close the document, its elements stop being valid. | |
| Public Member Functions inherited from Nebula.Ui.Element | |
| Element | GetElementById (string id) |
| Find an element by id in this element's subtree. | |
| unsafe string | GetAttribute (string name) |
| void | SetAttribute (string name, string value) |
| void | RemoveAttribute (string name) |
| void | SetClass (string name, bool active) |
| bool | IsClassSet (string name) |
| bool | SetProperty (string name, string value) |
| Set an RCSS property from its string form ("width", "50%"), false if it doesn't parse. | |
| void | RemoveProperty (string name) |
| bool | Focus () |
| EventListener | AddEventListener (string eventName, Action< UiEvent > handler) |
| Listen for an event ("click", "change", "mouseover"...). | |
| bool | Equals (Element other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Package Functions | |
| Document (ulong handle) | |
| Package Functions inherited from Nebula.Ui.Element | |
| Element (ulong handle) | |
Additional Inherited Members | |
| Protected Attributes inherited from Nebula.Ui.Element | |
| readonly ulong | handle |
| Static Package Functions inherited from Nebula.Ui.Element | |
| static Element | FromHandle (ulong handle) |
| Properties inherited from Nebula.Ui.Element | |
| ulong | Handle [get] |
| bool | IsValid [get] |
| Whether the element still exists. | |
| Document | Document [get] |
| The document the element is in. | |
| unsafe string | InnerRml [get, set] |
| The element's content as RML. | |
| unsafe string | Value [get, set] |
| The value of a form control (input, select, textarea). | |
|
inlinepackage |
|
inline |
Close the document, its elements stop being valid.
|
inline |
|
inline |