index of namespace ui
 
 index of project ui
 
 index of module MLabel

Class MLabel.ui::Label


Synopsis

  Base classes:
  Derived classes:
  Functions:
  Methods:
  Constants:

Function New
Signature
New():ui::Label
Returns

 
 top of page
Method beginXFMTag
Signature
beginXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
 :int
Arguments
ui::AbstractXMLFormform
HashTableattributes
Returns
int

 
 top of page
Method calcCaptionWidthOf
Signature
calcCaptionWidthOf(Stringcaption)
Arguments
Stringcaption

 
 top of page
Method calcMinimumSizeX
Signature
calcMinimumSizeX()

 
 top of page
Method calcSizeX
Signature
calcSizeX():float
Returns
float

 
 top of page
Method calcSizeXLabel
Signature
calcSizeXLabel():float
Returns
float

 
 top of page
Method calcSizeY
Signature
calcSizeY():float
Returns
float

 
 top of page
Method calcSizeYLabel
Signature
calcSizeYLabel():float
Returns
float

 
 top of page
Method drawTransparentCached
Signature
drawTransparentCached(floattextOffX,
  floattextOffY 
  )  
Arguments
floattextOffX
floattextOffY

 
 top of page
Method getCaption
Get the caption of the Label
Signature
getCaption():String
Returns
String

 
 top of page
Method getCaptionHeight
Signature
getCaptionHeight():int
Returns
int

 
 top of page
Method getCaptionHeightPad
Signature
getCaptionHeightPad()

 
 top of page
Method getCaptionHeightPadReserved
Signature
getCaptionHeightPadReserved()

 
 top of page
Method getCaptionHeightReserved
Signature
getCaptionHeightReserved():int
Returns
int

 
 top of page
Method getCaptionOffsetY
Signature
getCaptionOffsetY():float
Returns
float

 
 top of page
Method getCaptionSizeReserve
Signature
getCaptionSizeReserve():String
Returns
String

 
 top of page
Method getCaptionWidth
Signature
getCaptionWidth():int
Returns
int

 
 top of page
Method getCaptionWidthPad
Signature
getCaptionWidthPad():int
Returns
int

 
 top of page
Method getCaptionWidthPadReserved
Signature
getCaptionWidthPadReserved():int
Returns
int

 
 top of page
Method getCaptionWidthReserved
Signature
getCaptionWidthReserved():int
Returns
int

 
 top of page
Method getCurrentLabelIcon
Signature
getCurrentLabelIcon():ui::Icon
Returns

 
 top of page
Method getDebug
Signature
getDebug():int
Returns
int

 
 top of page
Method getDisplayedText
Signature
getDisplayedText():String
Returns
String

 
 top of page
Method getEnableIconBlendAdd
Signature
getEnableIconBlendAdd():int
Returns
int

 
 top of page
Method getFont
Signature
getFont():ui::Font
Returns

 
 top of page
Method getIcon
Signature
getIcon():ui::Icon
Returns

 
 top of page
Method getIconBlendC32
Signature
getIconBlendC32():int
Returns
int

 
 top of page
Method getIconBlendMode
Signature
getIconBlendMode():int
Returns
int

 
 top of page
Method getIconMono
Signature
getIconMono():ui::Icon
Returns

 
 top of page
Method getIconPlacement
Query the current icon placement
Signature
getIconPlacement():int
Returns
int

 
 top of page
Method getInnerPaddingString
Signature
getInnerPaddingString():String
Returns
String

 
 top of page
Method getLabelRightAlignPadRight
Signature
getLabelRightAlignPadRight():int
Returns
int

 
 top of page
Method getTextOffsetY
Signature
getTextOffsetY():int
Returns
int

 
 top of page
Method getTextPlacement
Signature
getTextPlacement():int
Returns
int

 
 top of page
Method getTint2
Signature
getTint2():int
Returns
int

 
 top of page
Method getTint3
Signature
getTint3():int
Returns
int

 
 top of page
Method initLabel
Signature
initLabel()

 
 top of page
Method initLabelOnly
Signature
initLabelOnly()

 
 top of page
Method invalidateSizeCache
Signature
invalidateSizeCache()

 
 top of page
Method layoutContent
Signature
layoutContent()

 
 top of page
Method lazyInitFont
Signature
lazyInitFont()

 
 top of page
Method lockInnerPadding
Signature
lockInnerPadding()

 
 top of page
Method onDraw
Signature
onDraw()

 
 top of page
Method onLookAndFeelChanged
Signature
onLookAndFeelChanged()

 
 top of page
Method redraw
Signature
redraw()

 
 top of page
Method removeParentLayerRefs
Signature
removeParentLayerRefs()

 
 top of page
Method resetBackgroundColor
Signature
resetBackgroundColor()

 
 top of page
Method setCaption
Set the caption of the Label
Signature
setCaption(Stringcaption)
Arguments
Stringcaption

 
 top of page
Method setCaptionOffsetY
Signature
setCaptionOffsetY(floatoffY)
Arguments
floatoffY

 
 top of page
Method setCaptionSizeReserve
Signature
setCaptionSizeReserve(StringcapSz)
Arguments
StringcapSz

 
 top of page
Method setCaptionTint
Set caption tint
Signature
setCaptionTint(inttint32)
Arguments
inttint32

 
 top of page
Method setDebug
Signature
setDebug(intbDebug)
Arguments
intbDebug

 
 top of page
Method setDefaultInnerPadding
Signature
setDefaultInnerPadding()

 
 top of page
Method setEnableAbbreviation
Signature
setEnableAbbreviation(intbEnabled)
Arguments
intbEnabled

 
 top of page
Method setEnableActualCaptionHeight
Signature
setEnableActualCaptionHeight(intbEnabled)
Arguments
intbEnabled

 
 top of page
Method setEnableCaption
Signature
setEnableCaption(intbEnabled)
Arguments
intbEnabled

 
 top of page
Method setEnableCaptionDim
Signature
setEnableCaptionDim(intbDim)
Arguments
intbDim

 
 top of page
Method setEnableClipCaption
Signature
setEnableClipCaption(intbEnable)
Arguments
intbEnable

 
 top of page
Method setEnableIconBlendAdd
Signature
setEnableIconBlendAdd(intbEnable)
Arguments
intbEnable

 
 top of page
Method setFont
Signature
setFont(ui::Fontfont)
Arguments
ui::Fontfont

 
 top of page
Method setFontByName
Signature
setFontByName(StringfontName)
Arguments
StringfontName

 
 top of page
Method setIcon
Set the Icon for this Label
Signature
setIcon(ui::Iconicon)
Arguments
ui::Iconicon

 
 top of page
Method setIconBlendC32
Signature
setIconBlendC32(intc32)
Arguments
intc32

 
 top of page
Method setIconBlendMode
Signature
setIconBlendMode(intmode)
Arguments
intmode

 
 top of page
Method setIconByName
Signature
setIconByName(StringiconName)
Arguments
StringiconName

 
 top of page
Method setIconMono
Set the Icon for this Label (dark/mono mode)
Signature
setIconMono(ui::Iconicon)
Arguments
ui::Iconicon

 
 top of page
Method setIconPadBottom
Signature
setIconPadBottom(floatbottom)
Arguments
floatbottom

 
 top of page
Method setIconPadding4f
Set icon padding
Signature
setIconPadding4f(floattop,
  floatleft,
  floatbottom,
  floatright 
  )  
Arguments
floattop
floatleft
floatbottom
floatright

 
 top of page
Method setIconPadLeft
Signature
setIconPadLeft(floatleft)
Arguments
floatleft

 
 top of page
Method setIconPadRight
Signature
setIconPadRight(floatright)
Arguments
floatright

 
 top of page
Method setIconPadTop
Signature
setIconPadTop(floattop)
Arguments
floattop

 
 top of page
Method setIconPlacement
Set the Icon placement (Layout.TOP|BOTTOM|LEFT|RIGHT|CENTER|CENTER_H|CENTER_V)
Signature
setIconPlacement(intip)
Arguments
intip

 
 top of page
Method setIconScale
Signature
setIconScale(floatscl)
Arguments
floatscl

 
 top of page
Method setIconScale2f
Signature
setIconScale2f(floatsclX,
  floatsclY 
  )  
Arguments
floatsclX
floatsclY

 
 top of page
Method setIconScaleX
Signature
setIconScaleX(floatsclx)
Arguments
floatsclx

 
 top of page
Method setIconScaleY
Signature
setIconScaleY(floatscly)
Arguments
floatscly

 
 top of page
Method setInnerPadBottom
Signature
setInnerPadBottom(floatbottom)
Arguments
floatbottom

 
 top of page
Method setInnerPadBottomScaled
Signature
setInnerPadBottomScaled(floatbottom)
Arguments
floatbottom

 
 top of page
Method setInnerPadding4f
Set the distance between borders and the actual icon/text area
Signature
setInnerPadding4f(floattop,
  floatleft,
  floatbottom,
  floatright 
  )  
Arguments
floattop
floatleft
floatbottom
floatright

 
 top of page
Method setInnerPadding4fScaled
Set the distance between borders and the actual icon/text area
Signature
setInnerPadding4fScaled(floattop,
  floatleft,
  floatbottom,
  floatright 
  )  
Arguments
floattop
floatleft
floatbottom
floatright

 
 top of page
Method setInnerPadLeft
Signature
setInnerPadLeft(floatleft)
Arguments
floatleft

 
 top of page
Method setInnerPadLeftScaled
Signature
setInnerPadLeftScaled(floatleft)
Arguments
floatleft

 
 top of page
Method setInnerPadRight
Signature
setInnerPadRight(floatright)
Arguments
floatright

 
 top of page
Method setInnerPadRightScaled
Signature
setInnerPadRightScaled(floatright)
Arguments
floatright

 
 top of page
Method setInnerPadTop
Signature
setInnerPadTop(floattop)
Arguments
floattop

 
 top of page
Method setInnerPadTopScaled
Signature
setInnerPadTopScaled(floattop)
Arguments
floattop

 
 top of page
Method setRotationByString
Signature
setRotationByString(Strings)
Arguments
Strings

 
 top of page
Method setTextOffsetY
Signature
setTextOffsetY(inty)
Arguments
inty

 
 top of page
Method setTextPlacement
Set text placement, i.e. Layout.LEFT, Layout.RIGHT etc.
Signature
setTextPlacement(intip)
Arguments
intip

 
 top of page
Method setTint2
Signature
setTint2(inttint32)
Arguments
inttint32

 
 top of page
Method setTint2AndRedraw
Signature
setTint2AndRedraw(inttint32)
Arguments
inttint32

 
 top of page
Method setTint3
Signature
setTint3(inttint32)
Arguments
inttint32

 
 top of page
Method setTint3AndRedraw
Signature
setTint3AndRedraw(inttint32)
Arguments
inttint32

 
 top of page
Method updateCaptionTintDim
Signature
updateCaptionTintDim()

 
 top of page
Constant MIN_SIZE_X (int)
Constant MIN_SIZE_Y (int)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezier01Edit , MBezierEdit , MButton , MCharFilter , MCharFilterBinary255Expr , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCharFilterHexShort , MCharFilterHexShortExpr , MCharFilterUFix16 , MCheckBox , MChoiceDialog , MCmdProvider , MColorBox , MColorButton , MComboBox , MComboBoxPopup , MComboBoxTM , MComboField , MComposite , MControl , MCursorShapes , MDial , MDialog , MDragHandleLabel , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamDialog , MFloatParamEditor , MFlowLayout , MFont , MFontCache , MFontResource , MForm , MFT2Face , MFT2FontResource , MFT2Glyph , MGeometry4f , MGraph , MGraphForm , MGridLayout , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MKeyboardMonitor , MKeyHelpDialog , MLabel , MLayer , MLayerSwitch , MLayout , MLogger , MLookAndFeel , MLookAndFeel_Dark , MLookAndFeel_Light , MLookAndFeel_Mono , MMouseEvent , MObjectAction , MOpaquePanel , MPanel , MPNGIcon , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MShader , MShader_ColorGrading , MShader_GradientH , MShader_GradientR , MShader_GradientV , MShader_InvertColor , MShader_PatternFill , MShader_PatternGradientH , MShader_PatternGradientR , MShader_PatternGradientV , MShader_SharpenFilter , MShader_SharpenFilterAndColorGrading , MShape , MShapePolyline , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableCellEditorString , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MUserDataContainer , MValueAction , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm , MXYPad 
Project Classes:CmdProvider , ColorBox , graph::AttribsBase , graph::BBox , graph::Canvas , graph::Cell , graph::Edge , graph::GR , graph::Graph , graph::GRGradient , graph::GRPalette , graph::GRParseContext , graph::GRStyle , graph::GRUtils , graph::Node , graph::Port , graph::PortsBase , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::Bezier01Edit , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BezierLUT01 , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterBinary255Expr , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CharFilterHexShort , ui::CharFilterHexShortExpr , ui::CharFilterUFix16 , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::ComboField , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DragHandleLabel , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamDialog , ui::FloatParamEditor , ui::FlowLayout , ui::Font , ui::FontCache , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::GraphEdge , ui::GraphEdgeArrow , ui::GraphForm , ui::GraphPortButton , ui::GridLayout , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyboardFocusListener , ui::KeyboardMonitor , ui::KeyboardMonitorEntry , ui::KeyHelpButton , ui::KeyHelpDialog , ui::KeyHelpToolTip , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::Logger , ui::LookAndFeel , ui::LookAndFeelDefs , ui::LookAndFeel_Dark , ui::LookAndFeel_Light , ui::LookAndFeel_Mono , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::ObjectAction , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Shader , ui::Shader_ColorGrading , ui::Shader_GradientH , ui::Shader_GradientR , ui::Shader_GradientV , ui::Shader_InvertColor , ui::Shader_PatternFill , ui::Shader_PatternGradientH , ui::Shader_PatternGradientR , ui::Shader_PatternGradientV , ui::Shader_SharpenFilter , ui::Shader_SharpenFilterAndColorGrading , ui::Shape , ui::ShapePolyline , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableCellEditorString , ui::TableGraphPanel , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextEditPlugin , ui::TextEditUndoEntry , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TextViewSyntaxHighlighter , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::UserDataContainer , ui::ValueAction , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm , ui::XYPad 
Project Functions:getTableViewStepCoarse , Screen_onApplicationActive , Screen_onClose , Screen_onDrainEventQueue , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onMoveWindow , Screen_onOpen , Screen_onResize , Screen_onTimer , SetDebugLevel , SetDebugLevel , SetEnableProfiling 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00