home
 
 index of namespace ui
 
 index of project tkui
 
 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 calcSizeY
Signature
calcSizeY():float
Returns
float

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

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

 
 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 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 getEnableFillBackground
Query whether to fill background before painting the caption.
Signature
getEnableFillBackground():int
Returns
int

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

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

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

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

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

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

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

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

 
 top of page
Method initLabel
Signature
initLabel()

 
 top of page
Method invalidateSizeCache
Signature
invalidateSizeCache()

 
 top of page
Method lazyInitFont
Signature
lazyInitFont()

 
 top of page
Method makeBackgroundColorSolid
Signature
makeBackgroundColorSolid()

 
 top of page
Method onDraw
Signature
onDraw()

 
 top of page
Method onLookAndFeelChanged
Signature
onLookAndFeelChanged()

 
 top of page
Method resetBackgroundColor
Signature
resetBackgroundColor()

 
 top of page
Method setBackgroundColor
Set color of label background
Signature
setBackgroundColor(intbgColor32)
Arguments
intbgColor32

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

 
 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 setDefaultInnerPadding
Signature
setDefaultInnerPadding()

 
 top of page
Method setEnableFillBackground
Fill background before painting the caption if bEnabled==true.
Signature
setEnableFillBackground(intbEnabled)
Arguments
intbEnabled

 
 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 setForegroundColor
Set color of label caption
Signature
setForegroundColor(intfgColor32)
Arguments
intfgColor32

 
 top of page
Method setIcon
Set the Icon for this Label
Signature
setIcon(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 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 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 setInnerPadLeft
Signature
setInnerPadLeft(floatleft)
Arguments
floatleft

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

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

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

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

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

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

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

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezierEdit , MButton , MCharFilter , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCheckBox , MChoiceDialog , MColorBox , MColorButton , MComboBox , MComboBoxTM , MComposite , MControl , MCursorShapes , MDial , MDialog , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamEditor , MFont , MFontResource , MForm , MFT2Face , MFT2FontCache , MFT2Glyph , MGeometry4f , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MLabel , MLayer , MLayerSwitch , MLayout , MLookAndFeel , MLookAndFeel_DarkFawn , MLookAndFeel_Gray , MLookAndFeel_LightFawn , MLookAndFeel_LightGray , MMouseEvent , MOpaquePanel , MPanel , MPNGIcon , MPoint2f , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MSize2f , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTabbedView , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MValueAction , MVector2f , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm 
Project Classes:ColorBox , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamEditor , ui::Font , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontCache , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::LookAndFeel , ui::LookAndFeel_DarkFawn , ui::LookAndFeel_Gray , ui::LookAndFeel_LightFawn , ui::LookAndFeel_LightGray , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::Point2f , 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::Size2f , 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::TabbedView , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::ValueAction , ui::Vector2f , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm 
Project Functions:getTableViewStepSizeDec , getTableViewStepSizeInc , Screen_onApplicationActive , Screen_onClose , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onOpen , Screen_onResize , Screen_onTimer 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06