s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamsvoting

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

Voting is open. Play the entries and pick the winner.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter