Interface: DropDown

An interactive dropdown menu.

Properties

Name Type Description
activationenabled boolean No description provided.
actuallayoutheight number No description provided.
actuallayoutwidth number No description provided.
actualuiscale_x number No description provided.
actualuiscale_y number No description provided.
actualxoffset number No description provided.
actualyoffset number No description provided.
checked boolean No description provided.
contentheight number No description provided.
contentwidth number No description provided.
defaultfocus string No description provided.
desiredlayoutheight number No description provided.
desiredlayoutwidth number No description provided.
enabled boolean No description provided.
hittest boolean No description provided.
hittestchildren boolean No description provided.
id string No description provided.
inputnamespace string No description provided.
layoutfile string No description provided.
max number No description provided.
min number No description provided.
paneltype DropDown No description provided.
rememberchildfocus boolean No description provided.
scrolloffset_x number No description provided.
scrolloffset_y number No description provided.
selectionpos_x number No description provided.
selectionpos_y number No description provided.
style Style No description provided.
tabindex number No description provided.
value number No description provided.
visible boolean No description provided.

Functions

AcceptsFocus

DropDown.AcceptsFocus(): boolean

No description provided.

AcceptsInput

DropDown.AcceptsInput(): boolean

No description provided.

AccessDropDownMenu

DropDown.AccessDropDownMenu(): T

No description provided.

AddClass

DropDown.AddClass(classname: string): void

No description provided.

Parameter

Name Type Description
classname string No description provided.

AddOption

DropDown.AddOption(panel: GenericPanel): void

No description provided.

Parameter

Name Type Description
panel GenericPanel No description provided.

ApplyStyles

DropDown.ApplyStyles(arg0: boolean): void

No description provided.

Parameter

Name Type Description
arg0 boolean No description provided.

BAscendantHasClass

DropDown.BAscendantHasClass(arg0: string): boolean

No description provided.

Parameter

Name Type Description
arg0 string No description provided.

CanSeeInParentScroll

DropDown.CanSeeInParentScroll(): boolean

No description provided.

Children

DropDown.Children(): GenericPanel[]

No description provided.

ClearPanelEvent

DropDown.ClearPanelEvent(event: string): void

No description provided.

Parameter

Name Type Description
event string No description provided.

ClearPropertyFromCode

DropDown.ClearPropertyFromCode(arg0: unknown): void

No description provided.

Parameter

Name Type Description
arg0 unknown No description provided.

CreateChildren

DropDown.CreateChildren(elements: string): boolean

No description provided.

Parameter

Name Type Description
elements string No description provided.

CreateCopyOfCSSKeyframes

DropDown.CreateCopyOfCSSKeyframes(animation: string): unknown

No description provided.

Parameter

Name Type Description
animation string No description provided.

Data

DropDown.Data(...args: any[]): void

No description provided.

Parameter

Name Type Description
...args any[] No description provided.

DeleteAsync

DropDown.DeleteAsync(delay: number): void

No description provided.

Parameter

Name Type Description
delay number No description provided.

DeleteKeyframes

DropDown.DeleteKeyframes(animation: unknown): void

No description provided.

Parameter

Name Type Description
animation unknown No description provided.

FindChild

DropDown.FindChild(id: string): T

Searches this element's direct children and returns a child with the specified id.

Parameter

Name Type Description
id string No description provided.

FindChildInLayoutFile

DropDown.FindChildInLayoutFile(id: string): T

No description provided.

Parameter

Name Type Description
id string No description provided.

FindChildrenWithClassTraverse

DropDown.FindChildrenWithClassTraverse(classname: string): T[]

No description provided.

Parameter

Name Type Description
classname string No description provided.

FindChildTraverse

DropDown.FindChildTraverse(id: string): T

No description provided.

Parameter

Name Type Description
id string No description provided.

FindDropDownMenuChild

DropDown.FindDropDownMenuChild(panelId: string): T

No description provided.

Parameter

Name Type Description
panelId string No description provided.

GetAttributeInt

DropDown.GetAttributeInt(attribute: string, fallback: number): number

No description provided.

Parameters

Name Type Description
attribute string No description provided.
fallback number No description provided.

GetAttributeString

DropDown.GetAttributeString(attribute: string, fallback: string): string

No description provided.

Parameters

Name Type Description
attribute string No description provided.
fallback string No description provided.

GetAttributeUInt32

DropDown.GetAttributeUInt32(attribute: string, fallback: number): number

No description provided.

Parameters

Name Type Description
attribute string No description provided.
fallback number No description provided.

GetChild

DropDown.GetChild(index: number): T

No description provided.

Parameter

Name Type Description
index number No description provided.

GetChildCount

DropDown.GetChildCount(): number

No description provided.

GetChildIndex

DropDown.GetChildIndex(child: GenericPanel): number

No description provided.

Parameter

Name Type Description
child GenericPanel No description provided.

GetFirstChild

DropDown.GetFirstChild(): T

No description provided.

GetLastChild

DropDown.GetLastChild(): T

No description provided.

GetLayoutFileDefine

DropDown.GetLayoutFileDefine(def: string): unknown

No description provided.

Parameter

Name Type Description
def string No description provided.

GetParent

DropDown.GetParent(): T

No description provided.

GetPositionWithinWindow

DropDown.GetPositionWithinWindow(): unknown

No description provided.

GetSelected

DropDown.GetSelected(): T

No description provided.

HasClass

DropDown.HasClass(classname: string): boolean

No description provided.

Parameter

Name Type Description
classname string No description provided.

HasDescendantKeyFocus

DropDown.HasDescendantKeyFocus(): boolean

No description provided.

HasHoverStyle

DropDown.HasHoverStyle(): boolean

No description provided.

HasKeyFocus

DropDown.HasKeyFocus(): boolean

No description provided.

HasOption

DropDown.HasOption(panelId: string): boolean

No description provided.

Parameter

Name Type Description
panelId string No description provided.

IsDraggable

DropDown.IsDraggable(): boolean

No description provided.

IsReadyForDisplay

DropDown.IsReadyForDisplay(): boolean

No description provided.

IsSelected

DropDown.IsSelected(): boolean

No description provided.

IsSizeValid

DropDown.IsSizeValid(): boolean

No description provided.

IsTransparent

DropDown.IsTransparent(): boolean

No description provided.

IsValid

DropDown.IsValid(): boolean

Check if this panel is still valid

LoadLayout

DropDown.LoadLayout(url: string, override: boolean, partial: boolean): boolean

No description provided.

Parameters

Name Type Description
url string No description provided.
override boolean No description provided.
partial boolean No description provided.

LoadLayoutAsync

DropDown.LoadLayoutAsync(url: string, override: boolean, partial: boolean): void

No description provided.

Parameters

Name Type Description
url string No description provided.
override boolean No description provided.
partial boolean No description provided.

LoadLayoutFromString

DropDown.LoadLayoutFromString(layout: string, override: boolean, partial: boolean): void

No description provided.

Parameters

Name Type Description
layout string No description provided.
override boolean No description provided.
partial boolean No description provided.

LoadLayoutFromStringAsync

DropDown.LoadLayoutFromStringAsync(layout: string, override: boolean, partial: boolean): void

No description provided.

Parameters

Name Type Description
layout string No description provided.
override boolean No description provided.
partial boolean No description provided.

LoadLayoutSnippet

DropDown.LoadLayoutSnippet(snippet: string): boolean

No description provided.

Parameter

Name Type Description
snippet string No description provided.

MoveChildAfter

DropDown.MoveChildAfter(arg0: unknown, arg1: unknown): void

No description provided.

Parameters

Name Type Description
arg0 unknown No description provided.
arg1 unknown No description provided.

MoveChildBefore

DropDown.MoveChildBefore(arg0: unknown, arg1: unknown): void

No description provided.

Parameters

Name Type Description
arg0 unknown No description provided.
arg1 unknown No description provided.

RegisterForReadyEvents

DropDown.RegisterForReadyEvents(enable: boolean): void

Registers this panel to receive ready/unready events.

Parameter

Name Type Description
enable boolean Should this panel receive ready/unready events?

RemoveAllOptions

DropDown.RemoveAllOptions(): void

No description provided.

RemoveAndDeleteChildren

DropDown.RemoveAndDeleteChildren(): void

No description provided.

RemoveClass

DropDown.RemoveClass(classname: string): void

No description provided.

Parameter

Name Type Description
classname string No description provided.

RemoveOption

DropDown.RemoveOption(panelId: string): void

No description provided.

Parameter

Name Type Description
panelId string No description provided.

RemoveOptionIndex

DropDown.RemoveOptionIndex(index: number): void

No description provided.

Parameter

Name Type Description
index number No description provided.

ScrollParentToFitWhenFocused

DropDown.ScrollParentToFitWhenFocused(): boolean

No description provided.

ScrollParentToMakePanelFit

DropDown.ScrollParentToMakePanelFit(arg0: number, arg1: boolean): void

No description provided.

Parameters

Name Type Description
arg0 number No description provided.
arg1 boolean No description provided.

ScrollToBottom

DropDown.ScrollToBottom(): void

No description provided.

ScrollToFitRegion

DropDown.ScrollToFitRegion(arg0: number, arg1: number, arg2: number, arg3: number, arg4: unknown, arg5: boolean, arg6: boolean): void

No description provided.

Parameters

Name Type Description
arg0 number No description provided.
arg1 number No description provided.
arg2 number No description provided.
arg3 number No description provided.
arg4 unknown No description provided.
arg5 boolean No description provided.
arg6 boolean No description provided.

ScrollToLeftEdge

DropDown.ScrollToLeftEdge(): void

No description provided.

ScrollToRightEdge

DropDown.ScrollToRightEdge(): void

No description provided.

ScrollToTop

DropDown.ScrollToTop(): void

No description provided.

SetAcceptsFocus

DropDown.SetAcceptsFocus(istrue: boolean): void

No description provided.

Parameter

Name Type Description
istrue boolean No description provided.

SetAttributeInt

DropDown.SetAttributeInt(attribute: string, value: number): void

No description provided.

Parameters

Name Type Description
attribute string No description provided.
value number No description provided.

SetAttributeString

DropDown.SetAttributeString(attribute: string, value: string): void

No description provided.

Parameters

Name Type Description
attribute string No description provided.
value string No description provided.

SetAttributeUInt32

DropDown.SetAttributeUInt32(attribute: string, value: number): void

No description provided.

Parameters

Name Type Description
attribute string No description provided.
value number No description provided.

SetDialogVariable

DropDown.SetDialogVariable(arg0: string, arg1: string): void

No description provided.

Parameters

Name Type Description
arg0 string No description provided.
arg1 string No description provided.

SetDialogVariableFloat

DropDown.SetDialogVariableFloat(arg0: string, arg1: number): void

No description provided.

Parameters

Name Type Description
arg0 string No description provided.
arg1 number No description provided.

SetDialogVariableInt

DropDown.SetDialogVariableInt(arg0: string, arg1: number): void

No description provided.

Parameters

Name Type Description
arg0 string No description provided.
arg1 number No description provided.

SetDialogVariableTime

DropDown.SetDialogVariableTime(arg0: string, arg1: string | number): void

No description provided.

Parameters

Name Type Description
arg0 string No description provided.
arg1 string | number No description provided.

SetDisableFocusOnMouseDown

DropDown.SetDisableFocusOnMouseDown(istrue: boolean): void

No description provided.

Parameter

Name Type Description
istrue boolean No description provided.

SetDraggable

DropDown.SetDraggable(istrue: boolean): void

No description provided.

Parameter

Name Type Description
istrue boolean No description provided.

SetFocus

DropDown.SetFocus(focus: boolean): boolean

No description provided.

Parameter

Name Type Description
focus boolean No description provided.

SetHasClass

DropDown.SetHasClass(classname: string, hasclass: boolean): void

No description provided.

Parameters

Name Type Description
classname string No description provided.
hasclass boolean No description provided.

SetInputNamespace

DropDown.SetInputNamespace(arg0: string): void

No description provided.

Parameter

Name Type Description
arg0 string No description provided.

SetPanelEvent

DropDown.SetPanelEvent(event: string, callback: Func<any[], void>): void

Sets an event trigger for this panel.

Example

latestUpdateImage.SetPanelEvent('onactivate', () => SteamOverlayAPI.OpenURLModal(item.link));

Parameters

Name Type Description
event string No description provided.
callback Func<any[], void> No description provided.

See also

SetParent

DropDown.SetParent(parent: GenericPanel): void

No description provided.

Parameter

Name Type Description
parent GenericPanel No description provided.

SetReadyForDisplay

DropDown.SetReadyForDisplay(arg0: boolean): void

No description provided.

Parameter

Name Type Description
arg0 boolean No description provided.

SetScrollParentToFitWhenFocused

DropDown.SetScrollParentToFitWhenFocused(arg0: boolean): void

No description provided.

Parameter

Name Type Description
arg0 boolean No description provided.

SetSelected

DropDown.SetSelected(selection: string): void

No description provided.

Parameter

Name Type Description
selection string No description provided.

SetSelectedIndex

DropDown.SetSelectedIndex(index: number): void

No description provided.

Parameter

Name Type Description
index number No description provided.

SetTopOfInputContext

DropDown.SetTopOfInputContext(arg0: boolean): void

No description provided.

Parameter

Name Type Description
arg0 boolean No description provided.

SortChildrenOnAttribute

DropDown.SortChildrenOnAttribute(attribute: string, ascending: boolean): void

No description provided.

Parameters

Name Type Description
attribute string No description provided.
ascending boolean No description provided.

SwitchClass

DropDown.SwitchClass(oldclass: string, newclass: string): void

No description provided.

Parameters

Name Type Description
oldclass string No description provided.
newclass string No description provided.

ToggleClass

DropDown.ToggleClass(classname: string): void

No description provided.

Parameter

Name Type Description
classname string No description provided.

TriggerClass

DropDown.TriggerClass(classname: string): void

No description provided.

Parameter

Name Type Description
classname string No description provided.

UpdateCurrentAnimationKeyframes

DropDown.UpdateCurrentAnimationKeyframes(animation: unknown): void

No description provided.

Parameter

Name Type Description
animation unknown No description provided.

UpdateFocusInContext

DropDown.UpdateFocusInContext(): boolean

No description provided.