Widgetclass

A generic widget.

objectQObjectWidget
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.Widget : Editor.QObject

Constructors2

Showing 2 constructors

Methods76

Showing 76 methods

public void AdjustSize()PUBLIC

Adjusts the size of the widget to fit its contents.

Returns:void

public virtual void AlignToParent(Sandbox.TextFlag alignment, Vector2 offset = null)PUBLICVIRTUAL

Align this widget to its parents edge, with an offset.

ParameterTypeDescription
alignmentTextFlag
offset = nullVector2
Returns:void

public void Blur()PUBLIC

Clear keyboard focus from this widget.

Returns:void

public virtual void ChildValuesChanged(Editor.Widget source)PUBLICVIRTUAL

ParameterTypeDescription
sourceWidget
Returns:void

public void ClearContext(string key)PUBLIC

Remove a context on this widget. This will NOT remove contexts set from parent objects.

ParameterTypeDescription
keystring
Returns:void

public virtual void Close()PUBLICVIRTUAL

If a window - will close

Returns:void

public void ConstrainTo(Sandbox.Rect parentRect)PUBLIC

Reposition this widget to ensure it is within the given rectangle.

ParameterTypeDescription
parentRectRectRectangle to constraint to, relative to the parent widget.
Returns:void

public void ConstrainToScreen()PUBLIC

Constrain this widget to the screen it's currently on.

Returns:void

public void DestroyChildren()PUBLIC

Destroys all child widgets of this widget.

Returns:void

public void DisableWindowActivation()PUBLIC

Calling this will set the WS_EX_NOACTIVATE flag on the window internally, which will stop it taking focus away from other windows.

Returns:void

protected virtual void DoLayout()PROTECTEDVIRTUAL

Called to make sure all child panels are in correct positions and have correct sizes. This is typically called when the size of this widget changes, but there are other cases as well.

Returns:void

public void Focus(bool activateWindow = True)PUBLIC

ParameterTypeDescription
activateWindow = Truebool
Returns:void

protected virtual bool FocusNext()PROTECTEDVIRTUAL

Called when Tab is pressed to find the next widget to focus. Return true to prevent focusing.

Returns:bool

protected virtual bool FocusPrevious()PROTECTEDVIRTUAL

Called when Shift + Tab is pressed to find the next widget to focus. Return true to prevent focusing.

Returns:bool

public Vector2 FromScreen(Vector2 p)PUBLIC

Transform coordinates relative to the monitors's top left corner, to coordinates relative to panel's top left corner.

ParameterTypeDescription
pVector2Position relative to the monitors top left corner.
Returns:Vector2The same position on the panel, relative it its top left corner.

public T GetAncestor()PUBLIC

Find the closest ancestor widget of type

Returns:T

public T GetContext(string key, T defaultIfMissing = null)PUBLIC

Find a context on this widget. If not found, look at the parent. If not found, look at the parent. This is useful for passing information down to child widgets without any effort.

ParameterTypeDescription
keystring
defaultIfMissing = nullT
Returns:T

public System.Collections.Generic.IEnumerable`1<T> GetDescendants()PUBLIC

Get all descendants of type T

Returns:IEnumerable<T>

public Editor.Widget GetWindow()PUBLIC

Get the top level window widget

Returns:Widget

public virtual void Hide()PUBLICVIRTUAL

Make this widget not visible.

Returns:void

public bool IsAncestorOf(Editor.Widget child)PUBLIC

Returns whether or not the specified Widget is an ancestor of this Widget.

ParameterTypeDescription
childWidget
Returns:bool

public bool IsDescendantOf(Editor.Widget parent)PUBLIC

Returns whether or not the specified Widget is a descendent of this Widget.

ParameterTypeDescription
parentWidget
Returns:bool

public bool IsModal()PUBLIC

Returns true if this is a modal window. This means it will appear on top of everything and block input to everything else.

Returns:bool

public void Lower()PUBLIC

Lowers the widget to the bottom of the parent widget's stack. After this call the widget will be visually behind (and therefore obscured by) any overlapping sibling widgets.

Returns:void

public void MakeMaximized()PUBLIC

Returns:void

public void MakeMinimized()PUBLIC

Returns:void

public void MakeSignal(string name)PUBLIC

ParameterTypeDescription
namestring
Returns:void

public void MakeWindowed()PUBLIC

Returns:void

protected virtual Vector2 MinimumSizeHint()PROTECTEDVIRTUAL

Return the minimum size this widget wants to be

Returns:Vector2

protected virtual void OnBlur(Editor.FocusChangeReason reason)PROTECTEDVIRTUAL

Called when the widget loses keyboard focus.

ParameterTypeDescription
reasonFocusChangeReason
Returns:void

protected virtual bool OnClose()PROTECTEDVIRTUAL

Called when a window is about to be closed.

Returns:bool

protected virtual void OnClosed()PROTECTEDVIRTUAL

Called when a window is closed.

Returns:void

protected virtual void OnContextMenu(Editor.ContextMenuEvent e)PROTECTEDVIRTUAL

Called after `Editor.Widget.OnMouseRightClick(Editor.MouseEvent)`, for the purposes of opening a context menu.

ParameterTypeDescription
eContextMenuEvent
Returns:void

protected virtual void OnDoubleClick(Editor.MouseEvent e)PROTECTEDVIRTUAL

Called when the widget was double clicked with any mouse button.

ParameterTypeDescription
eMouseEvent
Returns:void

public virtual void OnDragDrop(Editor.Widget.DragEvent ev)PUBLICVIRTUAL

Something was dragged and dropped on this widget. Apply the data here, if its valid. Requires `Editor.Widget.AcceptDrops` to function.

ParameterTypeDescription
evDragEventThe drag event info.
Returns:void

public virtual void OnDragHover(Editor.Widget.DragEvent ev)PUBLICVIRTUAL

Cursor with drag and drop data moved on this widget. Requires `Editor.Widget.AcceptDrops` to function.

ParameterTypeDescription
evDragEventThe drag event info.
Returns:void

public virtual void OnDragLeave()PUBLICVIRTUAL

Cursor with drag and drop data left the bounds of this widget. Requires `Editor.Widget.AcceptDrops` to function.

Returns:void

protected virtual void OnDragStart()PROTECTEDVIRTUALLIFECYCLE

Called when dragging. `Editor.Widget.IsDraggable` should be true.

Returns:void

protected virtual void OnFocus(Editor.FocusChangeReason reason)PROTECTEDVIRTUAL

Called when the widget gains keyboard focus.

ParameterTypeDescription
reasonFocusChangeReason
Returns:void

protected virtual void OnKeyPress(Editor.KeyEvent e)PROTECTEDVIRTUAL

A key has been pressed. Your widget needs keyboard focus for this to be called - see FocusMode.

ParameterTypeDescription
eKeyEvent
Returns:void

protected virtual void OnKeyRelease(Editor.KeyEvent e)PROTECTEDVIRTUAL

A key has been released.

ParameterTypeDescription
eKeyEvent
Returns:void

protected virtual void OnMouseClick(Editor.MouseEvent e)PROTECTEDVIRTUAL

Called when this widget is left clicked (on mouse release).

ParameterTypeDescription
eMouseEvent
Returns:void

protected virtual void OnMouseEnter()PROTECTEDVIRTUAL

Mouse cursor entered the bounds of this widget.

Returns:void

protected virtual void OnMouseLeave()PROTECTEDVIRTUAL

Mouse cursor exited the bounds of this widget.

Returns:void

protected virtual void OnMouseMove(Editor.MouseEvent e)PROTECTEDVIRTUAL

Called when the mouse cursor is moved while being over this widget.

ParameterTypeDescription
eMouseEvent
Returns:void

protected virtual void OnMousePress(Editor.MouseEvent e)PROTECTEDVIRTUAL

Called when mouse is pressed over this widget.

ParameterTypeDescription
eMouseEvent
Returns:void

protected virtual void OnMouseReleased(Editor.MouseEvent e)PROTECTEDVIRTUAL

Called when mouse is released over this widget.

ParameterTypeDescription
eMouseEvent
Returns:void

protected virtual void OnMouseRightClick(Editor.MouseEvent e)PROTECTEDVIRTUAL

Called when this widget is right clicked (on mouse release).

ParameterTypeDescription
eMouseEvent
Returns:void

protected virtual void OnMouseWheel(Editor.WheelEvent e)PROTECTEDVIRTUAL

Mouse wheel was scrolled while the mouse cursor was over this widget.

ParameterTypeDescription
eWheelEvent
Returns:void

protected virtual void OnMoved()PROTECTEDVIRTUAL

Called when the widget was moved to a new position relative to it's parent.

Returns:void

protected virtual void OnPaint()PROTECTEDVIRTUAL

Override to custom paint your widget, for example using `Editor.Paint`. Can be overwritten by `Editor.Widget.OnPaintOverride`.

Returns:void

protected virtual void OnResize()PROTECTEDVIRTUAL

Called when the widgets' size was changed.

Returns:void

protected virtual void OnShortcutPressed(Editor.KeyEvent e)PROTECTEDVIRTUAL

A shortcut has been activated. This is called on the focused control so they can override it.

ParameterTypeDescription
eKeyEvent
Returns:void

protected virtual void OnVisibilityChanged(bool visible)PROTECTEDVIRTUAL

Called when the visibility of this widget changes.

ParameterTypeDescription
visiblebool
Returns:void

protected virtual void OnWheel(Editor.WheelEvent e)PROTECTEDVIRTUALOBSOLETE

Mouse wheel was scrolled while the mouse cursor was over this widget.

Obsolete: Use OnMouseWheel

ParameterTypeDescription
eWheelEvent
Returns:void

public void PostKeyEvent(Editor.KeyCode key)PUBLIC

ParameterTypeDescription
keyKeyCode
Returns:void

public void Raise()PUBLIC

Raises this widget to the top of the parent widget's stack. After this call the widget will be visually in front of any overlapping sibling widgets.

Returns:void

public void RestoreGeometry(string state)PUBLIC

Restore position and size previously stored via `Editor.Widget.SaveGeometry`.

ParameterTypeDescription
statestring
Returns:void

public string SaveGeometry()PUBLIC

Serialize position and size of this widget to a string, which can then be passed to `Editor.Widget.RestoreGeometry(System.String)`.

Returns:string

public void SetContext(string key, object value)PUBLIC

Set a context value on this widget. This context will be available to its children via FindContext.

ParameterTypeDescription
keystring
valueobject
Returns:void

public void SetEffectOpacity(float f)PUBLIC

ParameterTypeDescription
ffloat
Returns:void

public void SetModal(bool on, bool application = False)PUBLIC

Set this window to be modal. This means it will appear on top of everything and block input to everything else.

ParameterTypeDescription
onbool
application = Falsebool
Returns:void

public void SetSizeMode(Editor.SizeMode horizontal, Editor.SizeMode vertical)PUBLIC

ParameterTypeDescription
horizontalSizeMode
verticalSizeMode
Returns:void

public void SetStyles(string sheet)PUBLIC

Directly set CSS style sheet(s) for this widget. Same format as a .css file.

ParameterTypeDescription
sheetstring
Returns:void

public void SetStylesheetFile(string filename)PUBLIC

Set a file to load CSS for this widget from.

ParameterTypeDescription
filenamestring
Returns:void

public virtual void Show()PUBLICVIRTUAL

Make this widget visible.

Returns:void

protected void SignalValuesChanged()PROTECTED

When a value on this widget changed due to user input (ie, checking a box, editing a form) this is called, which sends a signal up the parent widgets.

Returns:void

protected virtual Vector2 SizeHint()PROTECTEDVIRTUAL

Should return the size this widget really wants to be if it can its way. The default is that you don't care - and just to return whatever the base value is.

Returns:Vector2

public Vector2 ToScreen(Vector2 p)PUBLIC

Transform coordinates relative to the panel's top left corner, to coordinates relative to monitors's top left corner.

ParameterTypeDescription
pVector2Position on the panel, relative it its top left corner.
Returns:Vector2The same position relative to the monitors top left corner.

public virtual void Update()PUBLICVIRTUALPER-FRAME

Tell this widget that shit changed and it needs to redraw

Returns:void

public void UpdateGeometry()PUBLICPER-FRAME

Tell everything that the geometry of this has changed

Returns:void

Properties63

Showing 63 properties

public bool Editor.Widget.AcceptDrops { get; set; }PUBLICGETSET

Accept drag and dropping shit on us

Returns:bool

public System.Collections.Generic.IEnumerable`1<Editor.Widget> Editor.Widget.Children { get; set; }PUBLICGETSET

Child widgets of this widget.

Returns:IEnumerable<Widget>

public Sandbox.Rect Editor.Widget.ContentRect { get; set; }PUBLICGETSET

Returns:Rect

public bool Editor.Widget.ContextMenuEnabled { get; set; }PUBLICGETSET

Enables or disables the context menu on this widget.

Returns:bool

public bool Editor.Widget.DebugModeEnabled { get; set; }PUBLICGETSET

Enable debug mode on this widget.

Returns:bool

public bool Editor.Widget.DeleteOnClose { get; set; }PUBLICGETSET

Delete this widget when close is pressed

Returns:bool

public float Editor.Widget.DpiScale { get; set; }PUBLICGETSET

The scale this widget is using (multiplying Size by this value gives the actual native size)

Returns:float

public bool Editor.Widget.Enabled { get; set; }PUBLICGETSET

Makes the widget not interactable. This is also usually be reflected visually by the widget. The widget will not process any keyboard or mouse inputs. Applies retroactively to all children.

Returns:bool

public float Editor.Widget.FixedHeight { get; set; }PUBLICGETSET

Sets the fixed height for this widget

Returns:float

public float Editor.Widget.FixedWidth { get; set; }PUBLICGETSET

Sets the fixed width for this widget

Returns:float

public Editor.FocusMode Editor.Widget.FocusMode { get; set; }PUBLICGETSET

Sets the focus mode for this widget. This determines both how it will get focus and whether it will receive keyboard input.

Returns:FocusMode

public bool Editor.Widget.HasMaximizeButton { get; set; }PUBLICGETSET

Returns:bool

public float Editor.Widget.Height { get; set; }PUBLICGETSET

Utility to interact with a widget's width - use Size where possible

Returns:float

public bool Editor.Widget.Hidden { get; set; }PUBLICGETSET

Whether this widget is hidden. This differs from Visible because this will return the state for this particular widget, where as Visible returns false if a parent is hidden etc.

Returns:bool

public bool Editor.Widget.IsActiveWindow { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsBeingDroppedOn { get; set; }PUBLICGETSET

Whether something is being dragged over this widget.

Returns:bool

public bool Editor.Widget.IsDraggable { get; set; }PUBLICGETSET

Whether this widget can be drag and dropped onto other widgets.

Returns:bool

public bool Editor.Widget.IsFocused { get; set; }PUBLICGETSET

Whether this widget has keyboard focus.

Returns:bool

public bool Editor.Widget.IsFramelessWindow { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsMaximized { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsMinimized { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsPopup { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsPressed { get; set; }PUBLICGETSET

Whether this widget is currently being pressed down or not.

Returns:bool

public bool Editor.Widget.IsTooltip { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsUnderMouse { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.IsWindow { get; set; }PUBLICGETSET

Returns:bool

public Editor.Layout Editor.Widget.Layout { get; set; }PUBLICGETSET

The widget's internal layout, if any

Returns:Layout

public Sandbox.Rect Editor.Widget.LocalRect { get; set; }PUBLICGETSET

This panel's rect at 0,0

Returns:Rect

public float Editor.Widget.MaximumHeight { get; set; }PUBLICGETSET

This widgets height should never be larger than the given value.

Returns:float

public Vector2 Editor.Widget.MaximumSize { get; set; }PUBLICGETSET

Sets `Editor.Widget.MaximumWidth` and `Editor.Widget.MaximumHeight` simultaneously.

Returns:Vector2

public float Editor.Widget.MaximumWidth { get; set; }PUBLICGETSET

This widgets width should never be larger than the given value.

Returns:float

public float Editor.Widget.MinimumHeight { get; set; }PUBLICGETSET

This widgets height should never be smaller than the given value.

Returns:float

public Vector2 Editor.Widget.MinimumSize { get; set; }PUBLICGETSET

Sets `Editor.Widget.MinimumWidth` and `Editor.Widget.MinimumHeight` simultaneously.

Returns:Vector2

public float Editor.Widget.MinimumWidth { get; set; }PUBLICGETSET

This widgets width should never be smaller than the given value.

Returns:float

public bool Editor.Widget.MouseTracking { get; set; }PUBLICGETSET

Returns:bool

public string Editor.Widget.Name { get; set; }PUBLICGETSET

Name of the widget, usually for debugging purposes.

Returns:string

public bool Editor.Widget.NoSystemBackground { get; set; }PUBLICGETSET

Returns:bool

public Editor.Widget Editor.Widget.Parent { get; set; }PUBLICGETSET

Parent widget. If non null, position of this widget will be relative to the parent widget. Certain events will also propagate to the parent widget if unhandled.

Returns:Widget

public virtual Editor.Pixmap Editor.Widget.PixmapCursor { get; set; }PUBLICVIRTUALGETSET

Custom cursor override for this widget. Will override `Editor.Widget.Cursor` with `Editor.CursorShape.CustomCursor`.

Returns:Pixmap

public Vector2 Editor.Widget.Position { get; set; }PUBLICGETSET

Position of this widget, relative to its parent if it has one.

Returns:Vector2

public virtual bool Editor.Widget.ProvidesDebugMode { get; set; }PUBLICVIRTUALGETSET

If true then this widget has a debug mode that can be activated

Returns:bool

public virtual bool Editor.Widget.ReadOnly { get; set; }PUBLICVIRTUALGETSET

Makes the widget read only. I.e. You can copy text of a text entry, but can't edit it. Applies retroactively to all children.

Returns:bool

public Sandbox.Rect Editor.Widget.ScreenGeometry { get; set; }PUBLICGETSET

Returns the geometry of the screen this widget is currently on.

Returns:Rect

public Vector2 Editor.Widget.ScreenPosition { get; set; }PUBLICGETSET

Position of the widget relative to the monitor's top left corner.

Returns:Vector2

public Sandbox.Rect Editor.Widget.ScreenRect { get; set; }PUBLICGETSET

This panel's rect in screen coordinates

Returns:Rect

public bool Editor.Widget.ShowWithoutActivating { get; set; }PUBLICGETSET

Returns:bool

public string Editor.Widget.StatusTip { get; set; }PUBLICGETSET

If set, hovering over this widget will set the text of a `Editor.StatusBar` of the window the widget belongs to.

Returns:string

public virtual string Editor.Widget.ToolTip { get; set; }PUBLICVIRTUALGETSET

If set, this text will be displayed after a certain delay of hovering this widget with the mouse cursor.

Returns:string

public bool Editor.Widget.TranslucentBackground { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.TransparentForMouseEvents { get; set; }PUBLICGETSET

Returns:bool

public bool Editor.Widget.UpdatesEnabled { get; set; }PUBLICGETSETPER-FRAME

If true, Update will call

Returns:bool

public bool Editor.Widget.Visible { get; set; }PUBLICGETSET

Whether this widget is visible or not, in the tree. This will return false if a parent is hidden. You might want to set Hidden if you're looking to check local visible status on a widget.

Returns:bool

public float Editor.Widget.Width { get; set; }PUBLICGETSET

Utility to interact with a widget's width - use Size where possible

Returns:float

public float Editor.Widget.WindowOpacity { get; set; }PUBLICGETSET

Returns:float

public virtual string Editor.Widget.WindowTitle { get; set; }PUBLICVIRTUALGETSET

Returns:string

On this page

Constructorspublic Widget()public Widget(Editor.Widget parent, System.Boolean isDarkWindow = False)Methodspublic System.Void AdjustSize()public virtual System.Void AlignToParent(Sandbox.TextFlag alignment, Vector2 offset = null)public System.Void Blur()public virtual System.Void ChildValuesChanged(Editor.Widget source)public System.Void ClearContext(System.String key)public virtual System.Void Close()public System.Void ConstrainTo(Sandbox.Rect parentRect)public System.Void ConstrainToScreen()public System.Void DestroyChildren()public System.Void DisableWindowActivation()protected virtual System.Void DoLayout()public System.Void Focus(System.Boolean activateWindow = True)protected virtual System.Boolean FocusNext()protected virtual System.Boolean FocusPrevious()public Vector2 FromScreen(Vector2 p)public T GetAncestor()public T GetContext(System.String key, T defaultIfMissing = null)public System.Collections.Generic.IEnumerable`1<T> GetDescendants()public Editor.Widget GetWindow()public virtual System.Void Hide()public System.Boolean IsAncestorOf(Editor.Widget child)public System.Boolean IsDescendantOf(Editor.Widget parent)public System.Boolean IsModal()public System.Void Lower()public System.Void MakeMaximized()public System.Void MakeMinimized()public System.Void MakeSignal(System.String name)public System.Void MakeWindowed()protected virtual Vector2 MinimumSizeHint()protected virtual System.Void OnBlur(Editor.FocusChangeReason reason)protected virtual System.Boolean OnClose()protected virtual System.Void OnClosed()protected virtual System.Void OnContextMenu(Editor.ContextMenuEvent e)protected virtual System.Void OnDoubleClick(Editor.MouseEvent e)public virtual System.Void OnDragDrop(Editor.Widget.DragEvent ev)public virtual System.Void OnDragHover(Editor.Widget.DragEvent ev)public virtual System.Void OnDragLeave()protected virtual System.Void OnDragStart()protected virtual System.Void OnFocus(Editor.FocusChangeReason reason)protected virtual System.Void OnKeyPress(Editor.KeyEvent e)protected virtual System.Void OnKeyRelease(Editor.KeyEvent e)protected virtual System.Void OnMouseClick(Editor.MouseEvent e)protected virtual System.Void OnMouseEnter()protected virtual System.Void OnMouseLeave()protected virtual System.Void OnMouseMove(Editor.MouseEvent e)protected virtual System.Void OnMousePress(Editor.MouseEvent e)protected virtual System.Void OnMouseReleased(Editor.MouseEvent e)protected virtual System.Void OnMouseRightClick(Editor.MouseEvent e)protected virtual System.Void OnMouseWheel(Editor.WheelEvent e)protected virtual System.Void OnMoved()protected virtual System.Void OnPaint()protected virtual System.Void OnResize()protected virtual System.Void OnShortcutPressed(Editor.KeyEvent e)protected virtual System.Void OnVisibilityChanged(System.Boolean visible)protected virtual System.Void OnWheel(Editor.WheelEvent e)public System.Void PostKeyEvent(Editor.KeyCode key)public System.Void Raise()public System.Void RestoreGeometry(System.String state)public System.String SaveGeometry()public System.Boolean SetContentHash(System.Func`1<System.Int32> getHash, System.Single secondsDebounce = 0.1)public System.Boolean SetContentHash(System.Int32 hash, System.Single secondsDebounce = 0.1)public System.Void SetContext(System.String key, System.Object value)public System.Void SetEffectOpacity(System.Single f)public System.Void SetModal(System.Boolean on, System.Boolean application = False)public System.Void SetSizeMode(Editor.SizeMode horizontal, Editor.SizeMode vertical)public System.Void SetStyles(System.String sheet)public System.Void SetStylesheetFile(System.String filename)public virtual System.Void SetWindowIcon(Editor.Pixmap icon)public virtual System.Void SetWindowIcon(System.String name)public virtual System.Void Show()protected virtual System.Void Signal(Editor.WidgetSignal signal)protected System.Void SignalValuesChanged()protected virtual Vector2 SizeHint()public Vector2 ToScreen(Vector2 p)public virtual System.Void Update()public System.Void UpdateGeometry()Propertiespublic System.Boolean Editor.Widget.AcceptDrops { get; set; }public System.Collections.Generic.IEnumerable`1<Editor.Widget> Editor.Widget.Children { get; set; }public Sandbox.UI.Margin Editor.Widget.ContentMargins { get; set; }public Sandbox.Rect Editor.Widget.ContentRect { get; set; }public System.Boolean Editor.Widget.ContextMenuEnabled { get; set; }public virtual Editor.CursorShape Editor.Widget.Cursor { get; set; }public System.Boolean Editor.Widget.DebugModeEnabled { get; set; }public System.Boolean Editor.Widget.DeleteOnClose { get; set; }public System.Single Editor.Widget.DpiScale { get; set; }public System.Boolean Editor.Widget.Enabled { get; set; }public System.Single Editor.Widget.FixedHeight { get; set; }public Vector2 Editor.Widget.FixedSize { get; set; }public System.Single Editor.Widget.FixedWidth { get; set; }public Editor.FocusMode Editor.Widget.FocusMode { get; set; }public Editor.Widget Editor.Widget.FocusProxy { get; set; }public System.Boolean Editor.Widget.HasMaximizeButton { get; set; }public System.Single Editor.Widget.Height { get; set; }public System.Boolean Editor.Widget.Hidden { get; set; }public Editor.SizeMode Editor.Widget.HorizontalSizeMode { get; set; }public System.Boolean Editor.Widget.IsActiveWindow { get; set; }public System.Boolean Editor.Widget.IsBeingDroppedOn { get; set; }public System.Boolean Editor.Widget.IsDraggable { get; set; }public System.Boolean Editor.Widget.IsFocused { get; set; }public System.Boolean Editor.Widget.IsFramelessWindow { get; set; }public System.Boolean Editor.Widget.IsMaximized { get; set; }public System.Boolean Editor.Widget.IsMinimized { get; set; }public System.Boolean Editor.Widget.IsPopup { get; set; }public System.Boolean Editor.Widget.IsPressed { get; set; }public System.Boolean Editor.Widget.IsTooltip { get; set; }public System.Boolean Editor.Widget.IsUnderMouse { get; set; }public System.Boolean Editor.Widget.IsWindow { get; set; }public Editor.Layout Editor.Widget.Layout { get; set; }public Sandbox.Rect Editor.Widget.LocalRect { get; set; }public System.Single Editor.Widget.MaximumHeight { get; set; }public Vector2 Editor.Widget.MaximumSize { get; set; }public System.Single Editor.Widget.MaximumWidth { get; set; }public System.Single Editor.Widget.MinimumHeight { get; set; }public Vector2 Editor.Widget.MinimumSize { get; set; }public System.Single Editor.Widget.MinimumWidth { get; set; }public System.Boolean Editor.Widget.MouseTracking { get; set; }public System.String Editor.Widget.Name { get; set; }public System.Boolean Editor.Widget.NoSystemBackground { get; set; }public Editor.Widget Editor.Widget.Parent { get; set; }public virtual Editor.Pixmap Editor.Widget.PixmapCursor { get; set; }public Vector2 Editor.Widget.Position { get; set; }public virtual System.Boolean Editor.Widget.ProvidesDebugMode { get; set; }public virtual System.Boolean Editor.Widget.ReadOnly { get; set; }public Sandbox.Rect Editor.Widget.ScreenGeometry { get; set; }public Vector2 Editor.Widget.ScreenPosition { get; set; }public Sandbox.Rect Editor.Widget.ScreenRect { get; set; }public System.Boolean Editor.Widget.ShowWithoutActivating { get; set; }public Vector2 Editor.Widget.Size { get; set; }public System.String Editor.Widget.StatusTip { get; set; }public virtual System.String Editor.Widget.ToolTip { get; set; }public System.Boolean Editor.Widget.TranslucentBackground { get; set; }public System.Boolean Editor.Widget.TransparentForMouseEvents { get; set; }public System.Boolean Editor.Widget.UpdatesEnabled { get; set; }public Editor.SizeMode Editor.Widget.VerticalSizeMode { get; set; }public System.Boolean Editor.Widget.Visible { get; set; }public System.Single Editor.Widget.Width { get; set; }public Editor.WindowFlags Editor.Widget.WindowFlags { get; set; }public System.Single Editor.Widget.WindowOpacity { get; set; }public virtual System.String Editor.Widget.WindowTitle { get; set; }Metadata