s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Editor Classes
ControlWidget
OnLabelContextMenu
chevron_left Editor Classes
class
ControlWidget

Constructors

functionsControlWidget

Fields

crop_dinPaintBackground

Properties

data_objectCellAlignmentdata_objectIncludeLabeldata_objectIsControlActivedata_objectIsControlButtondata_objectIsControlDisableddata_objectIsControlHovereddata_objectIsWideModedata_objectSerializedPropertydata_objectSupportsMultiEditdata_objectTintlockValueHash

Methods

functionsFromClipboardStringlockMinimumSizeHintlockOnContextMenufunctionsOnLabelContextMenulockOnMultipleDifferentValueslockOnPaintlockOnValueChangedlockPaintControllockPaintOverlockPaintUnderfunctionsPrimelockPropertyFinishEditlockPropertyStartEditlockSizeHintfunctionsStartEditingfunctionsThinkfunctionsToClipboardString

Static Fields

crop_dinControlHighlightPrimarycrop_dinControlHighlightSecondary

Static Methods

functionsCreatefunctionsTryCreateGenericObjectControlWidget
OnLabelContextMenu
Called when right clicking a label in a ControlSheet for this widget. This allows you to add advanced menu items for this widget at the top of the menu, before the default ones.
method
void OnLabelContextMenu (ContextMenu menu)

Parameters

NameTypeDescription
menu ContextMenu
Declared in Editor.ControlWidget ยท Assembly Sandbox.Tools
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter