> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: Label
icon: braces
---

# <ApiPageIcon icon="braces" />Label

## panorama.panels.Label<ApiTag label="object type" />

<ApiSymbol inherits="[{&#x22;n&#x22;:&#x22;panorama.panels.TextButton&#x22;,&#x22;h&#x22;:&#x22;/cs2/dumped_data/panorama/panels/TextButton#panoramapanelstextbutton&#x22;}]" />

JavaScript panel type `Label`: the members of a panel's object, as `panorama.ids.<Id>` returns it
or as JavaScript hands it back. Call its members with a dot.
Extends `TextButton`, inferred from the registered members; only what `Label` adds is listed here.

<ApiMembers>
  <ApiMember kind="prop" name="panorama.panels.Label.html" ret="[[{&#x22;s&#x22;:&#x22;boolean&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#boolean&#x22;}]]" />

  <ApiMember kind="fn" name="panorama.panels.Label.SetAlreadyLocalizedText" args="arg1" sig="[{&#x22;s&#x22;:&#x22;panorama.panels.Label.SetAlreadyLocalizedText&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;arg1&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;arg1&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;}]}]" />

  <ApiMember kind="fn" name="panorama.panels.Label.SetLocString" args="arg1" sig="[{&#x22;s&#x22;:&#x22;panorama.panels.Label.SetLocString&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;arg1&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;arg1&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;}]}]" />
</ApiMembers>
