Documentation ¶
Index ¶
- func Image(name string) *image.RGBA
- func Translator(p *message.Printer)
- type AutoIDAllocator
- type DummyWidget
- type IndexButtonWidget
- type IndexEditorWidget
- type IndexFilterWidget
- type IndexImageButtonWidget
- type IndexSelectorWidget
- type ScopeWidget
- type SliceEditorWidget
- type SliceWidget
- type StringSequence
- type TableWidget
- func (v *TableWidget) Build()
- func (v *TableWidget) Editable() *TableWidget
- func (v *TableWidget) Interface() interface{}
- func (v *TableWidget) Len() int
- func (v *TableWidget) Less(i, j int) bool
- func (v *TableWidget) String() string
- func (v *TableWidget) Swap(i, j int)
- func (v *TableWidget) Sync()
- func (v *TableWidget) Values(table map[string]interface{}) *TableWidget
- type Widget
- type WidgetSequence
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Translator ¶
Types ¶
type AutoIDAllocator ¶
type AutoIDAllocator struct {
// contains filtered or unexported fields
}
func AutoID ¶
func AutoID() *AutoIDAllocator
func (*AutoIDAllocator) Gen ¶
func (v *AutoIDAllocator) Gen(id string) string
type DummyWidget ¶
type DummyWidget struct { }
func Dummy ¶
func Dummy() *DummyWidget
func (*DummyWidget) Build ¶
func (v *DummyWidget) Build()
func (*DummyWidget) Interface ¶
func (v *DummyWidget) Interface() interface{}
func (*DummyWidget) String ¶
func (v *DummyWidget) String() string
func (*DummyWidget) Sync ¶
func (v *DummyWidget) Sync()
type IndexButtonWidget ¶
type IndexButtonWidget struct {
// contains filtered or unexported fields
}
func IndexButton ¶
func IndexButton(title string) *IndexButtonWidget
func (*IndexButtonWidget) Build ¶
func (v *IndexButtonWidget) Build()
func (*IndexButtonWidget) Index ¶
func (v *IndexButtonWidget) Index(index int32) *IndexButtonWidget
func (*IndexButtonWidget) OnClick ¶
func (v *IndexButtonWidget) OnClick(fn func(int32)) *IndexButtonWidget
func (*IndexButtonWidget) Title ¶
func (v *IndexButtonWidget) Title(title string) *IndexButtonWidget
type IndexEditorWidget ¶
func IndexEditor ¶
func IndexEditor() *IndexEditorWidget
func (*IndexEditorWidget) Build ¶
func (v *IndexEditorWidget) Build()
func (*IndexEditorWidget) Indexes ¶
func (v *IndexEditorWidget) Indexes(indexes ...string) *IndexEditorWidget
func (*IndexEditorWidget) OnAdd ¶
func (v *IndexEditorWidget) OnAdd(fn func(string, Widget)) *IndexEditorWidget
func (*IndexEditorWidget) OnRemove ¶
func (v *IndexEditorWidget) OnRemove(fn func(int32)) *IndexEditorWidget
type IndexFilterWidget ¶
type IndexFilterWidget struct {
// contains filtered or unexported fields
}
func IndexFilter ¶
func IndexFilter() *IndexFilterWidget
func (*IndexFilterWidget) Indexes ¶
func (v *IndexFilterWidget) Indexes(indexes ...string) *IndexFilterWidget
type IndexImageButtonWidget ¶
type IndexImageButtonWidget struct {
// contains filtered or unexported fields
}
func IndexImageButton ¶
func IndexImageButton(name string) *IndexImageButtonWidget
func (*IndexImageButtonWidget) Build ¶
func (v *IndexImageButtonWidget) Build()
func (*IndexImageButtonWidget) Index ¶
func (v *IndexImageButtonWidget) Index(index int32) *IndexImageButtonWidget
func (*IndexImageButtonWidget) OnClick ¶
func (v *IndexImageButtonWidget) OnClick(fn func(int32)) *IndexImageButtonWidget
type IndexSelectorWidget ¶
func IndexSelector ¶
func IndexSelector() *IndexSelectorWidget
func (*IndexSelectorWidget) Build ¶
func (v *IndexSelectorWidget) Build()
func (*IndexSelectorWidget) Indexes ¶
func (v *IndexSelectorWidget) Indexes(indexes ...string) *IndexSelectorWidget
func (*IndexSelectorWidget) OnSelected ¶
func (v *IndexSelectorWidget) OnSelected(fn func(string)) *IndexSelectorWidget
type ScopeWidget ¶
type ScopeWidget struct {
// contains filtered or unexported fields
}
func Scope ¶
func Scope() *ScopeWidget
func (*ScopeWidget) Build ¶
func (v *ScopeWidget) Build()
func (*ScopeWidget) Editable ¶
func (v *ScopeWidget) Editable() *ScopeWidget
func (*ScopeWidget) Interface ¶
func (v *ScopeWidget) Interface() interface{}
func (*ScopeWidget) Len ¶
func (v *ScopeWidget) Len() int
func (*ScopeWidget) String ¶
func (v *ScopeWidget) String() string
func (*ScopeWidget) Sync ¶
func (v *ScopeWidget) Sync()
func (*ScopeWidget) Values ¶
func (v *ScopeWidget) Values(table map[string]interface{}) *ScopeWidget
type SliceEditorWidget ¶
func SliceEditor ¶
func SliceEditor() *SliceEditorWidget
func (*SliceEditorWidget) Build ¶
func (v *SliceEditorWidget) Build()
func (*SliceEditorWidget) Indexes ¶
func (v *SliceEditorWidget) Indexes(indexes ...string) *SliceEditorWidget
func (*SliceEditorWidget) OnInsert ¶
func (v *SliceEditorWidget) OnInsert(fn func(int32, Widget)) *SliceEditorWidget
func (*SliceEditorWidget) OnRemove ¶
func (v *SliceEditorWidget) OnRemove(fn func(int32)) *SliceEditorWidget
type SliceWidget ¶
type SliceWidget struct {
// contains filtered or unexported fields
}
func Slice ¶
func Slice() *SliceWidget
func (*SliceWidget) Build ¶
func (v *SliceWidget) Build()
func (*SliceWidget) Editable ¶
func (v *SliceWidget) Editable() *SliceWidget
func (*SliceWidget) Interface ¶
func (v *SliceWidget) Interface() interface{}
func (*SliceWidget) Len ¶
func (v *SliceWidget) Len() int
func (*SliceWidget) String ¶
func (v *SliceWidget) String() string
func (*SliceWidget) Sync ¶
func (v *SliceWidget) Sync()
func (*SliceWidget) Values ¶
func (v *SliceWidget) Values(slice []interface{}) *SliceWidget
type StringSequence ¶
type StringSequence []string
func (StringSequence) Cointains ¶
func (s StringSequence) Cointains(e string) bool
func (StringSequence) Erase ¶
func (s StringSequence) Erase(e int) StringSequence
func (StringSequence) Index ¶
func (s StringSequence) Index(e string) int
type TableWidget ¶
type TableWidget struct {
// contains filtered or unexported fields
}
func Table ¶
func Table() *TableWidget
func (*TableWidget) Build ¶
func (v *TableWidget) Build()
func (*TableWidget) Editable ¶
func (v *TableWidget) Editable() *TableWidget
func (*TableWidget) Interface ¶
func (v *TableWidget) Interface() interface{}
func (*TableWidget) Len ¶
func (v *TableWidget) Len() int
func (*TableWidget) Less ¶
func (v *TableWidget) Less(i, j int) bool
func (*TableWidget) String ¶
func (v *TableWidget) String() string
func (*TableWidget) Swap ¶
func (v *TableWidget) Swap(i, j int)
func (*TableWidget) Sync ¶
func (v *TableWidget) Sync()
func (*TableWidget) Values ¶
func (v *TableWidget) Values(table map[string]interface{}) *TableWidget
type WidgetSequence ¶
type WidgetSequence []Widget
func (WidgetSequence) Build ¶
func (s WidgetSequence) Build()
func (WidgetSequence) Erase ¶
func (s WidgetSequence) Erase(e int) WidgetSequence
func (WidgetSequence) Sync ¶
func (s WidgetSequence) Sync()
Click to show internal directories.
Click to hide internal directories.