Documentation ¶
Index ¶
- func MustRegisterCondition(name string, condition walk.Condition)
- type Action
- type ActionRef
- type Alignment1D
- type Builder
- type CheckBox
- type ComboBox
- type Composite
- type Container
- type CustomWidget
- type DataBinder
- type DateEdit
- type Dialog
- type ErrorPresenter
- type ErrorPresenterRef
- type Font
- type Grid
- type GroupBox
- type HBox
- type HSpacer
- type HSplitter
- type ImageView
- type Label
- type Layout
- type LineEdit
- type LineErrorPresenter
- type ListBox
- type MainWindow
- type Margins
- type Menu
- type MenuItem
- type NumberEdit
- type Orientation
- type ProgressBar
- type Property
- type PushButton
- type RadioButton
- type RadioButtonGroup
- type RadioButtonGroupBox
- type Range
- type Regexp
- type ScrollView
- type SelRequired
- type Separator
- type Shortcut
- type Size
- type TabPage
- type TabWidget
- type TableView
- type TableViewColumn
- type TextEdit
- type ToolBar
- type ToolButton
- type TreeView
- type VBox
- type VSpacer
- type VSplitter
- type Validator
- type ValidatorRef
- type WebView
- type Widget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRegisterCondition ¶
Types ¶
type Alignment1D ¶
type Alignment1D uint
const ( AlignNear Alignment1D = iota AlignCenter AlignFar )
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*Builder) InitWidget ¶
type CheckBox ¶
type CheckBox struct { AssignTo **walk.CheckBox Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Text Property Checked Property CheckState Property Tristate bool OnClicked walk.EventHandler OnCheckedChanged walk.EventHandler OnCheckStateChanged walk.EventHandler }
func (CheckBox) WidgetInfo ¶
func (w CheckBox) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ComboBox ¶
type ComboBox struct { AssignTo **walk.ComboBox Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnKeyPress walk.KeyEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Editable bool Format string Precision int MaxLength int BindingMember string DisplayMember string Model interface{} Value Property CurrentIndex Property OnCurrentIndexChanged walk.EventHandler }
func (ComboBox) WidgetInfo ¶
func (w ComboBox) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type Composite ¶
type Composite struct { AssignTo **walk.Composite Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler DataBinder DataBinder Layout Layout Children []Widget }
func (Composite) ContainerInfo ¶
func (c Composite) ContainerInfo() (DataBinder, Layout, []Widget)
func (Composite) WidgetInfo ¶
func (w Composite) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type Container ¶
type Container interface {
ContainerInfo() (DataBinder, Layout, []Widget)
}
type CustomWidget ¶
type CustomWidget struct { AssignTo **walk.CustomWidget Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Style uint32 Paint walk.PaintFunc ClearsBackground bool InvalidatesOnResize bool }
func (CustomWidget) Create ¶
func (cw CustomWidget) Create(builder *Builder) error
func (CustomWidget) WidgetInfo ¶
func (w CustomWidget) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type DataBinder ¶
type DataBinder struct { AssignTo **walk.DataBinder DataSource interface{} ErrorPresenter ErrorPresenter AutoSubmit bool OnSubmitted walk.EventHandler }
type DateEdit ¶
type DateEdit struct { AssignTo **walk.DateEdit Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Format string NoneOption bool MinDate time.Time MaxDate time.Time Date Property OnDateChanged walk.EventHandler }
func (DateEdit) WidgetInfo ¶
func (w DateEdit) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type Dialog ¶
type Dialog struct { AssignTo **walk.Dialog Name string Enabled Property Visible Property Font Font MinSize Size MaxSize Size ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Title string Size Size DataBinder DataBinder Layout Layout Children []Widget DefaultButton **walk.PushButton CancelButton **walk.PushButton }
type ErrorPresenter ¶
type ErrorPresenter interface {
Create() (walk.ErrorPresenter, error)
}
type ErrorPresenterRef ¶
type ErrorPresenterRef struct {
ErrorPresenter *walk.ErrorPresenter
}
func (ErrorPresenterRef) Create ¶
func (epr ErrorPresenterRef) Create() (walk.ErrorPresenter, error)
type Font ¶
type GroupBox ¶
type GroupBox struct { AssignTo **walk.GroupBox Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Title string DataBinder DataBinder Layout Layout Children []Widget }
func (GroupBox) ContainerInfo ¶
func (gb GroupBox) ContainerInfo() (DataBinder, Layout, []Widget)
func (GroupBox) WidgetInfo ¶
func (w GroupBox) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type HSpacer ¶
type HSpacer struct { Name string MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int Size int }
func (HSpacer) WidgetInfo ¶
func (hs HSpacer) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type HSplitter ¶
type HSplitter struct { AssignTo **walk.Splitter Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler DataBinder DataBinder Children []Widget HandleWidth int }
func (HSplitter) ContainerInfo ¶
func (s HSplitter) ContainerInfo() (DataBinder, Layout, []Widget)
func (HSplitter) WidgetInfo ¶
func (w HSplitter) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ImageView ¶
type ImageView struct { AssignTo **walk.ImageView Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Image walk.Image }
func (ImageView) WidgetInfo ¶
func (w ImageView) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type Label ¶
type Label struct { AssignTo **walk.Label Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Text Property }
func (Label) WidgetInfo ¶
func (w Label) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type LineEdit ¶
type LineEdit struct { AssignTo **walk.LineEdit Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Text Property ReadOnly Property CueBanner string MaxLength int PasswordMode bool OnEditingFinished walk.EventHandler OnTextChanged walk.EventHandler }
func (LineEdit) WidgetInfo ¶
func (w LineEdit) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type LineErrorPresenter ¶
type LineErrorPresenter struct { AssignTo *walk.ErrorPresenter Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler }
func (LineErrorPresenter) Create ¶
func (lep LineErrorPresenter) Create(builder *Builder) error
func (LineErrorPresenter) WidgetInfo ¶
func (w LineErrorPresenter) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ListBox ¶
type ListBox struct { AssignTo **walk.ListBox Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Format string Precision int DataMember string Model interface{} OnCurrentIndexChanged walk.EventHandler OnItemActivated walk.EventHandler }
func (ListBox) WidgetInfo ¶
func (w ListBox) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type MainWindow ¶
type MainWindow struct { AssignTo **walk.MainWindow Name string Enabled Property Visible Property Font Font MinSize Size MaxSize Size ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Title string Size Size DataBinder DataBinder Layout Layout Children []Widget MenuItems []MenuItem ToolBarItems []MenuItem }
func (MainWindow) Create ¶
func (mw MainWindow) Create() error
func (MainWindow) Run ¶
func (mw MainWindow) Run() (int, error)
type NumberEdit ¶
type NumberEdit struct { AssignTo **walk.NumberEdit Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Decimals int Prefix string Suffix string Increment float64 MinValue float64 MaxValue float64 Value Property OnValueChanged walk.EventHandler }
func (NumberEdit) Create ¶
func (ne NumberEdit) Create(builder *Builder) error
func (NumberEdit) WidgetInfo ¶
func (w NumberEdit) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
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 Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler MinValue int MaxValue int Value int }
func (ProgressBar) Create ¶
func (pb ProgressBar) Create(builder *Builder) error
func (ProgressBar) WidgetInfo ¶
func (w ProgressBar) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type PushButton ¶
type PushButton struct { AssignTo **walk.PushButton Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Text Property Image interface{} ImageAboveText bool OnClicked walk.EventHandler }
func (PushButton) Create ¶
func (pb PushButton) Create(builder *Builder) error
func (PushButton) WidgetInfo ¶
func (w PushButton) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type RadioButton ¶
type RadioButton struct { AssignTo **walk.RadioButton Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Text Property Value interface{} OnClicked walk.EventHandler }
func (RadioButton) Create ¶
func (rb RadioButton) Create(builder *Builder) error
func (RadioButton) WidgetInfo ¶
func (w RadioButton) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type RadioButtonGroup ¶
type RadioButtonGroup struct { DataMember string Optional bool Buttons []RadioButton }
func (RadioButtonGroup) Create ¶
func (rbg RadioButtonGroup) Create(builder *Builder) error
func (RadioButtonGroup) WidgetInfo ¶
func (w RadioButtonGroup) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type RadioButtonGroupBox ¶
type RadioButtonGroupBox struct { AssignTo **walk.GroupBox Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Title string DataBinder DataBinder Layout Layout Children []Widget DataMember string Optional bool Buttons []RadioButton }
func (RadioButtonGroupBox) ContainerInfo ¶
func (rbgb RadioButtonGroupBox) ContainerInfo() (DataBinder, Layout, []Widget)
func (RadioButtonGroupBox) Create ¶
func (rbgb RadioButtonGroupBox) Create(builder *Builder) error
func (RadioButtonGroupBox) WidgetInfo ¶
func (w RadioButtonGroupBox) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ScrollView ¶
type ScrollView struct { AssignTo **walk.ScrollView Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler DataBinder DataBinder Layout Layout Children []Widget }
func (ScrollView) ContainerInfo ¶
func (sv ScrollView) ContainerInfo() (DataBinder, Layout, []Widget)
func (ScrollView) Create ¶
func (sv ScrollView) Create(builder *Builder) error
func (ScrollView) WidgetInfo ¶
func (w ScrollView) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type SelRequired ¶
type SelRequired struct { }
type TabPage ¶
type TabPage struct { AssignTo **walk.TabPage Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler DataBinder DataBinder Layout Layout Children []Widget Image *walk.Bitmap Title Property Content Widget }
func (TabPage) ContainerInfo ¶
func (tp TabPage) ContainerInfo() (DataBinder, Layout, []Widget)
func (TabPage) WidgetInfo ¶
func (w TabPage) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type TabWidget ¶
type TabWidget struct { AssignTo **walk.TabWidget Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler ContentMargins Margins ContentMarginsZero bool Pages []TabPage OnCurrentIndexChanged walk.EventHandler }
func (TabWidget) WidgetInfo ¶
func (w TabWidget) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type TableView ¶
type TableView struct { AssignTo **walk.TableView Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Columns []TableViewColumn Model interface{} AlternatingRowBGColor walk.Color CheckBoxes bool ItemStateChangedEventDelay int LastColumnStretched bool ColumnsOrderable Property ColumnsSizable Property SingleItemSelection bool OnCurrentIndexChanged walk.EventHandler OnSelectedIndexesChanged walk.EventHandler OnItemActivated walk.EventHandler }
func (TableView) WidgetInfo ¶
func (w TableView) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type TableViewColumn ¶
type TextEdit ¶
type TextEdit struct { AssignTo **walk.TextEdit Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Text Property ReadOnly Property }
func (TextEdit) WidgetInfo ¶
func (w TextEdit) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ToolBar ¶
type ToolBar struct { AssignTo **walk.ToolBar Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Actions []*walk.Action MaxTextRows int Orientation Orientation }
func (ToolBar) WidgetInfo ¶
func (w ToolBar) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ToolButton ¶
type ToolButton struct { AssignTo **walk.ToolButton Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Image interface{} Text Property OnClicked walk.EventHandler }
func (ToolButton) Create ¶
func (tb ToolButton) Create(builder *Builder) error
func (ToolButton) WidgetInfo ¶
func (w ToolButton) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type TreeView ¶
type TreeView struct { AssignTo **walk.TreeView Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler Model walk.TreeModel OnCurrentItemChanged walk.EventHandler OnExpandedChanged walk.TreeItemEventHandler }
func (TreeView) WidgetInfo ¶
func (w TreeView) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type VSpacer ¶
type VSpacer struct { Name string MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int Size int }
func (VSpacer) WidgetInfo ¶
func (vs VSpacer) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type VSplitter ¶
type VSplitter struct { AssignTo **walk.Splitter Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler DataBinder DataBinder Children []Widget HandleWidth int }
func (VSplitter) ContainerInfo ¶
func (s VSplitter) ContainerInfo() (DataBinder, Layout, []Widget)
func (VSplitter) WidgetInfo ¶
func (w VSplitter) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type ValidatorRef ¶
type WebView ¶
type WebView struct { AssignTo **walk.WebView Name string Enabled Property Visible Property Font Font ToolTipText Property MinSize Size MaxSize Size StretchFactor int Row int RowSpan int Column int ColumnSpan int AlwaysConsumeSpace bool ContextMenuItems []MenuItem OnKeyDown walk.KeyEventHandler OnKeyPress walk.KeyEventHandler OnKeyUp walk.KeyEventHandler OnMouseDown walk.MouseEventHandler OnMouseMove walk.MouseEventHandler OnMouseUp walk.MouseEventHandler OnSizeChanged walk.EventHandler URL Property OnURLChanged walk.EventHandler }
func (WebView) WidgetInfo ¶
func (w WebView) WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler)
type Widget ¶
type Widget interface { Create(builder *Builder) error WidgetInfo() (name string, disabled, hidden bool, font *Font, toolTipText string, minSize, maxSize Size, stretchFactor, row, rowSpan, column, columnSpan int, alwaysConsumeSpace bool, contextMenuItems []MenuItem, OnKeyDown walk.KeyEventHandler, OnKeyPress walk.KeyEventHandler, OnKeyUp walk.KeyEventHandler, OnMouseDown walk.MouseEventHandler, OnMouseMove walk.MouseEventHandler, OnMouseUp walk.MouseEventHandler, OnSizeChanged walk.EventHandler) }
Source Files ¶
- action.go
- builder.go
- checkbox.go
- combobox.go
- composite.go
- customwidget.go
- databinder.go
- dateedit.go
- dialog.go
- font.go
- groupbox.go
- imageview.go
- interfaces.go
- label.go
- layouts.go
- lineedit.go
- lineerrorpresenter.go
- listbox.go
- mainwindow.go
- numberedit.go
- progressbar.go
- pushbutton.go
- radiobutton.go
- radiobuttongroup.go
- radiobuttongroupbox.go
- scrollview.go
- spacer.go
- splitter.go
- tableview.go
- tableviewcolumn.go
- tabpage.go
- tabwidget.go
- textedit.go
- toolbar.go
- toolbutton.go
- treeview.go
- validators.go
- webview.go
Click to show internal directories.
Click to hide internal directories.