Label Class

From DevWiki

Jump to: navigation, search

Applications,Python API,MC Module

Contents


Label

GetLabel(controlId:Integer):Label
The label class represents a label control in the user interface.

  1. myLabel = mc.GetActiveWindow().GetLabel(140)
  1. <onclick lang="python"><![CDATA[
  2. myLabel = mc.GetActiveWindow().GetLabel(140)
  3. ]]></onclick>

SetLabel

SetLabel(label:String):Void
Sets/changes the label text.

  1. myLabel.SetLabel('Play')
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox