Documentation ¶
Index ¶
- func Calendar(title string, text string) (time.Time, error)
- func InputPassword(parent uintptr, title string) (string, error)
- func InputText(parent uintptr, title string, caption string, content string) (string, error)
- func InputUserPassword(parent uintptr, title string) (string, error)
- func List(title string, text string, item []string) (string, error)
- func NewBorderLayout(parent winapi.WinObject, bAdd bool, groupBox ...bool) *winapi.BorderLayout
- func NewButton(parent winapi.WinObject, caption string, autoAdd ...bool) *winapi.Button
- func NewCheckBox(parent winapi.WinObject, text string, autoAdd ...bool) *winapi.Button
- func NewComboBox(parent winapi.WinObject, autoAdd ...bool) *winapi.ComboBox
- func NewComboBoxEx(parent winapi.WinObject, autoAdd ...bool) *winapi.ComboBoxEx
- func NewDateTimePicker(parent winapi.WinObject, autoAdd ...bool) *winapi.DateTimerPicker
- func NewDialog(parent winapi.WinObject, title string) *winapi.Dialog
- func NewDialogModal(parent winapi.WinObject, title string) *winapi.DialogModal
- func NewEdit(parent winapi.WinObject, autoAdd ...bool) *winapi.Edit
- func NewFormLayout(parent winapi.WinObject, full bool, bAdd bool, groupBox ...bool) *winapi.FormLayout
- func NewFormLog(caption string, interval int, onTimer func(form *LogDialog), opt *FormLogOpt) error
- func NewHLayout(parent winapi.WinObject, full bool, bAdd bool, groupBox ...bool) *winapi.HLayout
- func NewLabel(parent winapi.WinObject, caption string, autoAdd ...bool) *winapi.Label
- func NewListView(parent winapi.WinObject, autoAdd ...bool) *winapi.ListView
- func NewMemo(parent winapi.WinObject, autoAdd ...bool) *winapi.Edit
- func NewRadio(parent winapi.WinObject, caption string, group bool, autoAdd ...bool) *winapi.Button
- func NewSplitter(parent winapi.WinObject, vert bool, bAdd bool) *winapi.Splitter
- func NewTabPageCtrl(parent winapi.WinObject, autoAdd ...bool) *winapi.TabPageCtrl
- func NewVLayout(parent winapi.WinObject, full bool, bAdd bool, groupBox ...bool) *winapi.VLayout
- func OpenFileDialog(title string, filename string, filter winapi.FileFilters, parent ...uintptr) (string, error)
- func Question(title string, content string, parent ...uintptr) bool
- func SaveFileDialog(title string, filename string, filter winapi.FileFilters, parent ...uintptr) (string, error)
- func SelectDirectory(caption string, rootDir string, parent ...uintptr) (string, error)
- func ShowError(title string, content string, parent ...uintptr) int32
- func ShowMessage(title string, content string, parent ...uintptr) int32
- func ShowWarning(title string, content string, parent ...uintptr) int32
- type Application
- func (me *Application) NewBorderLayout(parent winapi.WinObject, groupBox bool) winapi.Layout
- func (me *Application) NewButton(parent winapi.WinObject, text string) *winapi.Button
- func (me *Application) NewCheckBox(parent winapi.WinObject, text string) *winapi.Button
- func (me *Application) NewComboBox(parent winapi.WinObject) *winapi.ComboBox
- func (me *Application) NewEdit(parent winapi.WinObject, text string) *winapi.Edit
- func (me *Application) NewHLayout(parent winapi.WinObject, full bool, groupBox bool) winapi.Layout
- func (me *Application) NewLabel(parent winapi.WinObject, caption string) *winapi.Label
- func (me *Application) NewListBox(parent winapi.WinObject) *winapi.ListBox
- func (me *Application) NewListView(parent winapi.WinObject) *winapi.ListView
- func (me *Application) NewMemo(parent winapi.WinObject, text string) *winapi.Edit
- func (me *Application) NewTabPage(parent winapi.WinObject) *winapi.TabPage
- func (me *Application) NewTabPageCtrl(parent winapi.WinObject) *winapi.TabPageCtrl
- func (me *Application) NewVLayout(parent winapi.WinObject, full bool, groupBox bool) winapi.Layout
- type FormDialog
- type FormLogOpt
- type LogDialog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBorderLayout ¶
func NewCheckBox ¶
func NewComboBoxEx ¶
func NewComboBoxEx(parent winapi.WinObject, autoAdd ...bool) *winapi.ComboBoxEx
func NewDateTimePicker ¶
func NewDateTimePicker(parent winapi.WinObject, autoAdd ...bool) *winapi.DateTimerPicker
func NewDialogModal ¶
func NewDialogModal(parent winapi.WinObject, title string) *winapi.DialogModal
func NewFormLayout ¶
func NewFormLog ¶
func NewFormLog(caption string, interval int, onTimer func(form *LogDialog), opt *FormLogOpt) error
func NewHLayout ¶
func NewTabPageCtrl ¶
func NewTabPageCtrl(parent winapi.WinObject, autoAdd ...bool) *winapi.TabPageCtrl
func NewVLayout ¶
func OpenFileDialog ¶
func SaveFileDialog ¶
func SelectDirectory ¶
Types ¶
type Application ¶
type Application struct {
*winapi.Application
}
func NewApplication ¶
func NewApplication(title string) *Application
func (*Application) NewBorderLayout ¶
func (*Application) NewCheckBox ¶
func (*Application) NewComboBox ¶
func (me *Application) NewComboBox(parent winapi.WinObject) *winapi.ComboBox
func (*Application) NewHLayout ¶
func (*Application) NewListBox ¶
func (me *Application) NewListBox(parent winapi.WinObject) *winapi.ListBox
func (*Application) NewListView ¶
func (me *Application) NewListView(parent winapi.WinObject) *winapi.ListView
func (*Application) NewTabPage ¶
func (me *Application) NewTabPage(parent winapi.WinObject) *winapi.TabPage
func (*Application) NewTabPageCtrl ¶
func (me *Application) NewTabPageCtrl(parent winapi.WinObject) *winapi.TabPageCtrl
func (*Application) NewVLayout ¶
type FormDialog ¶
func NewFormDialog ¶
func NewFormDialog(parent winapi.HWND, title string) *FormDialog
func (*FormDialog) End ¶
func (me *FormDialog) End()
func (*FormDialog) GetLayout ¶
func (me *FormDialog) GetLayout() *winapi.FormLayout
func (*FormDialog) SetOnResult ¶
func (me *FormDialog) SetOnResult(ok func(), cancel func()) bool
type FormLogOpt ¶
type LogDialog ¶
type LogDialog struct {
// contains filtered or unexported fields
}
func (*LogDialog) GetLogLineCount ¶
func (*LogDialog) IsEnableLog ¶
Click to show internal directories.
Click to hide internal directories.