Documentation ¶
Index ¶
- type ComboBox
- func (comboBox *ComboBox) AddChild(drawable nkf.Drawable)
- func (comboBox *ComboBox) ChildByIndex(index int) nkf.Drawable
- func (comboBox *ComboBox) ClearChildren()
- func (comboBox *ComboBox) Color() nk.Color
- func (comboBox *ComboBox) IndexOfChild(drawable nkf.Drawable) int
- func (comboBox *ComboBox) MaxHeight() float32
- func (comboBox *ComboBox) Render(ctx *nk.Context)
- func (comboBox *ComboBox) SetColor(color nk.Color)
- func (comboBox *ComboBox) SetMaxHeight(maxHeight float32)
- func (comboBox *ComboBox) SetWidth(width float32)
- func (comboBox *ComboBox) Width() float32
- type Picker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComboBox ¶
type ComboBox struct {
// contains filtered or unexported fields
}
func NewComboBox ¶
func NewComboBoxAsChild ¶
func (*ComboBox) ClearChildren ¶
func (comboBox *ComboBox) ClearChildren()
func (*ComboBox) SetMaxHeight ¶
type Picker ¶
type Picker struct {
// contains filtered or unexported fields
}
func NewPickerAsChild ¶
func NewPickerAsChild(parent nkf.RecursiveDrawable, initialColor nk.Color, format nk.ColorFormat, changeListener func(picker *Picker)) *Picker
func (*Picker) ColorFormat ¶
func (picker *Picker) ColorFormat() nk.ColorFormat
func (*Picker) SetColorFormat ¶
func (picker *Picker) SetColorFormat(colorFormat nk.ColorFormat)
Click to show internal directories.
Click to hide internal directories.