Documentation ¶
Index ¶
- func CreateActions(items ...MenuItem) ([]*walk.Action, error)
- func InitWidget(d Widget, w walk.Widget, customInit func() error) error
- type Action
- type ActionRef
- type CheckBox
- type ComboBox
- type Composite
- type Container
- type CustomWidget
- type DateEdit
- type Dialog
- type Font
- type Grid
- type GroupBox
- type HBox
- type HSpacer
- type ImageView
- type Label
- type Layout
- type LineEdit
- type ListBox
- type MainWindow
- type Margins
- type Menu
- type MenuItem
- type NumberEdit
- type Orientation
- type ProgressBar
- type PushButton
- type RadioButton
- type Size
- type Splitter
- type TabPage
- type TabWidget
- type TableView
- type TextEdit
- type ToolBar
- type ToolButton
- type TreeView
- type VBox
- type VSpacer
- type WebView
- type Widget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckBox ¶
type ComboBox ¶
type ComboBox struct { AssignTo **walk.ComboBox Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Format string Precision int Model walk.ListModel OnCurrentIndexChanged walk.EventHandler }
type Composite ¶
type Composite struct { AssignTo **walk.Composite Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Layout Layout Children []Widget }
func (Composite) ContainerInfo ¶
type CustomWidget ¶
type CustomWidget struct { AssignTo **walk.CustomWidget Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Style uint32 Paint walk.PaintFunc ClearsBackground bool InvalidatesOnResize bool }
func (CustomWidget) WidgetInfo ¶
type DateEdit ¶
type DateEdit struct { AssignTo **walk.DateEdit Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action MinDate time.Time MaxDate time.Time Date time.Time OnDateChanged walk.EventHandler }
type Dialog ¶
type Dialog struct { AssignTo **walk.Dialog Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size ContextMenuActions []*walk.Action Title string Size Size Layout Layout Children []Widget DefaultButton **walk.PushButton CancelButton **walk.PushButton }
func (Dialog) ContainerInfo ¶
type Font ¶
type GroupBox ¶
type GroupBox struct { AssignTo **walk.GroupBox Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Title string Layout Layout Children []Widget }
func (GroupBox) ContainerInfo ¶
type HSpacer ¶
type ImageView ¶
type Label ¶
type LineEdit ¶
type LineEdit struct { AssignTo **walk.LineEdit Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Text string ReadOnly bool CueBanner string MaxLength int PasswordMode bool OnEditingFinished walk.EventHandler OnReturnPressed walk.EventHandler OnTextChanged walk.EventHandler }
type ListBox ¶
type ListBox struct { AssignTo **walk.ListBox Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Format string Precision int Model walk.ListModel OnCurrentIndexChanged walk.EventHandler OnItemActivated walk.EventHandler }
type MainWindow ¶
type MainWindow struct { AssignTo **walk.MainWindow Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size ContextMenuActions []*walk.Action Title string Size Size Layout Layout Children []Widget MenuActions []*walk.Action ToolBarActions []*walk.Action }
func (MainWindow) ContainerInfo ¶
func (mw MainWindow) ContainerInfo() (Layout, []Widget)
func (MainWindow) WidgetInfo ¶
type NumberEdit ¶
type NumberEdit struct { AssignTo **walk.NumberEdit Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Decimals int Increment float64 MinValue float64 MaxValue float64 Value float64 OnValueChanged walk.EventHandler }
func (NumberEdit) WidgetInfo ¶
type Orientation ¶
type Orientation byte
const ( Horizontal Orientation = Orientation(walk.Horizontal) Vertical Orientation = Orientation(walk.Vertical) )
type ProgressBar ¶
type ProgressBar struct { AssignTo **walk.ProgressBar Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action MinValue int MaxValue int Value int }
func (ProgressBar) WidgetInfo ¶
type PushButton ¶
type PushButton struct { AssignTo **walk.PushButton Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Text string OnClicked walk.EventHandler }
func (PushButton) WidgetInfo ¶
type RadioButton ¶
type RadioButton struct { AssignTo **walk.RadioButton Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Text string OnClicked walk.EventHandler }
func (RadioButton) WidgetInfo ¶
type Splitter ¶
type Splitter struct { AssignTo **walk.Splitter Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Layout Layout Children []Widget HandleWidth int Orientation Orientation }
func (Splitter) ContainerInfo ¶
type TabPage ¶
type TabPage struct { AssignTo **walk.TabPage Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size ContextMenuActions []*walk.Action Title string Layout Layout Children []Widget }
func (TabPage) ContainerInfo ¶
type TabWidget ¶
type TableView ¶
type TableView struct { AssignTo **walk.TableView Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Model walk.TableModel AlternatingRowBGColor walk.Color CheckBoxes bool ItemStateChangedEventDelay int LastColumnStretched bool ReorderColumnsEnabled bool SingleItemSelection bool OnCurrentIndexChanged walk.EventHandler OnSelectedIndexesChanged walk.EventHandler OnItemActivated walk.EventHandler }
type TextEdit ¶
type ToolBar ¶
type ToolButton ¶
type ToolButton struct { AssignTo **walk.ToolButton Name string Disabled bool Hidden bool Font Font MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int ContextMenuActions []*walk.Action Text string OnClicked walk.EventHandler }
func (ToolButton) WidgetInfo ¶
type TreeView ¶
type VSpacer ¶
Source Files ¶
- action.go
- checkbox.go
- combobox.go
- composite.go
- customwidget.go
- dateedit.go
- dialog.go
- font.go
- groupbox.go
- imageview.go
- interfaces.go
- label.go
- layouts.go
- lineedit.go
- listbox.go
- mainwindow.go
- numberedit.go
- progressbar.go
- pushbutton.go
- radiobutton.go
- spacer.go
- splitter.go
- tableview.go
- tabpage.go
- tabwidget.go
- textedit.go
- toolbar.go
- toolbutton.go
- treeview.go
- util.go
- webview.go
Click to show internal directories.
Click to hide internal directories.