BlockSuggestionPage

Package: Libraries.Interface.Controls.Blocks.Palette · Inherits from: Libraries.Interface.Forms.FormContainerControl, Libraries.Interface.Controls.ScrollableControl, Libraries.Language.Object, Libraries.Interface.Events.TextChangeListener, Libraries.Interface.Controls.Control, Libraries.Interface.Controls.ScrollPane, Libraries.Interface.Pages.StackedRowPage, Libraries.Interface.Controls.Blocks.Palette.BlockPalettePage, Libraries.Interface.Forms.FormPrimitiveContainer, Libraries.Interface.Item, Libraries.Interface.Item2D, Libraries.Interface.Events.SelectionListener, Libraries.Interface.Forms.Page

Actions

AddFilterTextField()

Adds a label that screen readers announce as a heading of the given level, and list among the page's headings.

AddHeading(text name, integer size, integer headingLevel)

Adds a label that screen readers announce as a heading of the given level, and list among the page's headings.

Parameters

  • name text
  • size integer
  • headingLevel integer

Returns

Libraries.Game.Graphics.Label

AddHints(Libraries.Interface.Controls.Blocks.Block block)

filterLabel:SetFocusable(false)

Parameters

ClearSuggestions()

IsBlockAtRootLevel(Libraries.Interface.Controls.Blocks.Block block)

Parameters

Returns

boolean

IsBlockInAction(Libraries.Interface.Controls.Blocks.Block block)

Set background color to an appropriate error color, based on the block options.

Parameters

Returns

boolean

IsBlockInClass(Libraries.Interface.Controls.Blocks.Block block)

Parameters

Returns

boolean

MakeFullActionCall(Libraries.Language.Compile.Symbol.Action act, text variableName)

Parameters

Returns

text

SelectionChanged(Libraries.Interface.Events.SelectionEvent event)

Parameters

SetActionsFromVariable(Libraries.Language.Compile.Symbol.Variable variable)

AddLabel(className):SetFontSize(HEADER_SIZE)

Parameters

SetCodeCompletionResult(Libraries.Language.Compile.CodeCompletionResult result)

Parameters

SetFromList(Libraries.Containers.Array<text> list)

Parameters

SetFromResult(Libraries.Interface.Controls.Blocks.Palette.BlockSuggestionResult result)

Parameters

SetupDefaultSuggestions()

box:SetFontSize(LABEL_SIZE)

TextChanged(Libraries.Interface.Events.TextChangeEvent event)

Parameters

Inherited Actions

18 actions from Libraries.Interface.Controls.Blocks.Palette.BlockPalettePage
258 actions from Libraries.Interface.Controls.Control
23 actions from Libraries.Interface.Controls.ScrollPane
20 actions from Libraries.Interface.Controls.ScrollableControl
86 actions from Libraries.Interface.Forms.FormContainerControl
8 actions from Libraries.Interface.Forms.FormPrimitiveContainer
15 actions from Libraries.Interface.Forms.Page
60 actions from Libraries.Interface.Item
199 actions from Libraries.Interface.Item2D
3 actions from Libraries.Language.Object