Documentation
¶
Index ¶
- type LabelStyle
- type UILabel
- func (l *UILabel) ApplyStyle(style LabelStyle)
- func (l *UILabel) Raw() *fltk_bridge.Box
- func (l *UILabel) SetAlignment(align fltk_bridge.Align)
- func (l *UILabel) SetBackgroundColor(rgb uint)
- func (l *UILabel) SetFont(font fltk_bridge.Font)
- func (l *UILabel) SetFontSize(px int)
- func (l *UILabel) SetFrame(boxType fltk_bridge.BoxType)
- func (l *UILabel) SetText(s string)
- func (l *UILabel) SetTextColor(c uint)
- func (l *UILabel) Style() LabelStyle
- func (l *UILabel) View() *view.UIView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabelStyle ¶
type LabelStyle struct {
Font fltk_bridge.Font
FontSize int
TextColor uint
Align fltk_bridge.Align
BgColor uint
BoxType fltk_bridge.BoxType
}
func DefaultLabelStyle ¶
func DefaultLabelStyle() LabelStyle
type UILabel ¶
type UILabel struct {
// contains filtered or unexported fields
}
func NewUILabel ¶
func NewUILabel(r *foundation.Rect, text string) *UILabel
func NewUILabelWithOptions ¶
func NewUILabelWithOptions(r *foundation.Rect, text string, style LabelStyle) *UILabel
func (*UILabel) ApplyStyle ¶
func (l *UILabel) ApplyStyle(style LabelStyle)
func (*UILabel) Raw ¶
func (l *UILabel) Raw() *fltk_bridge.Box
func (*UILabel) SetAlignment ¶
func (l *UILabel) SetAlignment(align fltk_bridge.Align)
func (*UILabel) SetBackgroundColor ¶
func (*UILabel) SetFont ¶
func (l *UILabel) SetFont(font fltk_bridge.Font)
func (*UILabel) SetFontSize ¶
func (*UILabel) SetFrame ¶
func (l *UILabel) SetFrame(boxType fltk_bridge.BoxType)
func (*UILabel) SetTextColor ¶
func (*UILabel) Style ¶
func (l *UILabel) Style() LabelStyle
Click to show internal directories.
Click to hide internal directories.