Documentation ¶
Index ¶
- type Button
- type ComboBox
- func (comboBox *ComboBox) AddChild(drawable nkf.Drawable)
- func (comboBox *ComboBox) ChildByIndex(index int) nkf.Drawable
- func (comboBox *ComboBox) ClearChildren()
- func (comboBox *ComboBox) Content() string
- func (comboBox *ComboBox) IndexOfChild(drawable nkf.Drawable) int
- func (comboBox *ComboBox) MaxHeight() float32
- func (comboBox *ComboBox) Render(ctx *nk.Context)
- func (comboBox *ComboBox) SetContent(content string)
- func (comboBox *ComboBox) SetMaxHeight(maxHeight float32)
- func (comboBox *ComboBox) SetWidth(width float32)
- func (comboBox *ComboBox) Width() float32
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
type Button struct {
// contains filtered or unexported fields
}
func NewButtonAsChild ¶
func NewButtonAsChild(parent nkf.RecursiveDrawable, content string, clickListener func(button *Button)) *Button
func (*Button) SetClickListener ¶
func (*Button) SetContent ¶
type ComboBox ¶
type ComboBox struct {
// contains filtered or unexported fields
}
func NewComboBox ¶
func NewComboBoxAsChild ¶
func (*ComboBox) ClearChildren ¶
func (comboBox *ComboBox) ClearChildren()
func (*ComboBox) SetContent ¶
func (*ComboBox) SetMaxHeight ¶
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
func NewOptionAsChild ¶
func (*Option) SetContent ¶
Click to show internal directories.
Click to hide internal directories.