MCPcopy Create free account

hub / github.com/andlabs/ui / functions

Functions315 in github.com/andlabs/ui

FunctionNewVerticalSeparator
NewVerticalSeparator creates a new vertical Separator.
separator.go:30
FunctionNewWindow
NewWindow creates a new Window.
window.go:24
MethodNumPages
NumPages returns the number of pages in the Tab.
tab.go:72
MethodNumRows
(m *ui.TableModel)
examples/table.go:49
MethodOnChanged
OnChanged registers f to be run when the user either selects an item or changes the text in the EditableCombobox. Only one function can be registered
editablecombobox.go:59
MethodOnChanged
OnChanged registers f to be run when the user changes the currently selected color in the ColorButton. Only one function can be registered at a time.
colorbutton.go:52
MethodOnChanged
OnChanged registers f to be run when the user changes the time in the DateTimePicker. Only one function can be registered at a time.
datetimepicker.go:87
MethodOnChanged
OnChanged registers f to be run when the user changes the currently selected font in the FontButton. Only one function can be registered at a time.
fontbutton.go:46
MethodOnChanged
OnChanged registers f to be run when the user makes a change to the MultilineEntry. Only one function can be registered at a time.
multilineentry.go:74
MethodOnSelected
OnSelected registers f to be run when the user selects an option in the RadioButtons. Only one function can be registered at a time.
radiobuttons.go:53
FunctionOnShouldQuit
OnShouldQuit schedules f to be exeucted when the OS wants the program to quit or when a Quit menu item has been clicked. Only one function may be regi
main.go:115
MethodOnToggled
OnToggled registers f to be run when the user clicks the Checkbox. Only one function can be registered at a time.
checkbox.go:53
FunctionOpenFile
(w *Window)
stddialogs.go:17
MethodPadded
Padded returns whether there is space between each control of the Grid.
grid.go:87
MethodPadded
Padded returns whether there is space between each control of the Form.
form.go:62
MethodPadded
Padded returns whether there is space between each control of the Box.
box.go:76
FunctionQuit
Quit queues a return from Main. It does not exit the program. It also does not immediately cause Main to return; Main will return when it next can. Qu
main.go:48
MethodReadOnly
ReadOnly returns whether the Entry can be changed.
entry.go:83
MethodReadOnly
ReadOnly returns whether the MultilineEntry can be changed.
multilineentry.go:87
MethodRestore
TODO
draw.go:452
MethodRotate
TODO
draw.go:382
MethodRowDeleted
RowDeleted tells any Tables associated with m that the row at index index has been deleted. You call this function when the number of rows in your mod
tablemodel.go:223
MethodRowInserted
RowInserted tells any Tables associated with m that a new row has been added to m at index index. You call this method when the number of rows in your
tablemodel.go:207
MethodSave
TODO
draw.go:447
FunctionSaveFile
(w *Window)
stddialogs.go:26
MethodScale
TODO
draw.go:373
MethodScrollTo
ScrollTo scrolls the Area to show the given rectangle; what this means is implementation-defined, but you can safely assume that as much of the given
area.go:103
MethodSelected
Selected returns the index of the currently selected option in the RadioButtons, or -1 if no item is selected.
radiobuttons.go:41
MethodSetBorderless
SetBorderless sets the Window to be borderless or not.
window.go:97
MethodSetCellValue
(m *ui.TableModel, row, column int, value ui.TableValue)
examples/table.go:111
MethodSetChecked
SetChecked sets whether the Checkbox is checked.
checkbox.go:71
MethodSetReadOnly
SetReadOnly sets whether the MultilineEntry can be changed.
multilineentry.go:92
MethodSetSelected
SetSelected sets the currently selected option in the RadioButtons to index.
radiobuttons.go:47
MethodSetSize
SetSize sets the size of a scrolling Area to the given size, in points. SetSize panics if called on a non-scrolling Area.
area.go:84
MethodSetText
SetText sets the text in the entry of the EditableCombobox.
editablecombobox.go:50
MethodSetText
SetText sets the Button's text to text.
button.go:44
MethodSetText
SetText sets the Checkbox's text to text.
checkbox.go:45
MethodSetText
SetText sets the MultilineEntry's text to text.
multilineentry.go:58
MethodSetTime
SetTime sets the time in the DateTimePicker to t. t's components are read as-is via t.Date() and t.Clock(); no time zone manipulations are done.
datetimepicker.go:69
MethodSetTitle
SetTitle sets the Window's title to title.
window.go:58
MethodSetTitle
SetTitle sets the Group's title to title.
group.go:53
MethodShow
()
control.go:107
MethodSkew
TODO
draw.go:389
MethodText
Text returns the text in the entry of the EditableCombobox, which could be one of the choices in the list if the user has selected one.
editablecombobox.go:42
MethodText
Text draws tl in c with the top-left point of tl at (x, y).
drawtext.go:508
MethodText
Text returns the Button's text.
button.go:36
MethodText
Text returns the Checkbox's text.
checkbox.go:37
MethodText
Text returns the MultilineEntry's text.
multilineentry.go:50
MethodTime
Time returns the time stored in the uiDateTimePicker. The time is assumed to be local time.
datetimepicker.go:52
MethodTitle
Title returns the Window's title.
window.go:50
MethodTitle
Title returns the Group's title.
group.go:45
FunctionToOpenTypeTag
ToOpenTypeTag converts the four characters a, b, c, and d into an OpenTypeTag.
drawtext.go:257
MethodTransformPoint
TODO unimplemented
draw.go:425
MethodTransformSize
TODO unimplemented
draw.go:430
MethodValue
Value returns the value currently shown in the ProgressBar.
progressbar.go:30
MethodVisible
Visible returns whether the Control is visible.
control.go:36
MethodVisible
()
control.go:103
FunctionattributeFromLibui
(a *C.uiAttribute)
drawtext.go:264
Functioninit
make sure main() runs on the first thread created by the OS if main() calls Main(), things will just work on macOS, where the first thread created by
main.go:19
Functionmain
()
examples/table.go:193
Functionmain
()
examples/drawtext.go:166
Functionmain
()
examples/controlgallery.go:221
Functionmain
()
examples/histogram.go:252
Functionmain
()
examples/updateui.go:111
FunctionpkguiAlloc
export pkguiAlloc
util.go:13
FunctionpkguiDoAreaHandlerDragBroken
export pkguiDoAreaHandlerDragBroken
areahandler.go:217
FunctionpkguiDoAreaHandlerDraw
export pkguiDoAreaHandlerDraw
areahandler.go:140
FunctionpkguiDoAreaHandlerKeyEvent
export pkguiDoAreaHandlerKeyEvent
areahandler.go:233
FunctionpkguiDoAreaHandlerMouseCrossed
export pkguiDoAreaHandlerMouseCrossed
areahandler.go:210
FunctionpkguiDoAreaHandlerMouseEvent
export pkguiDoAreaHandlerMouseEvent
areahandler.go:191
FunctionpkguiDoButtonOnClicked
export pkguiDoButtonOnClicked
button.go:57
FunctionpkguiDoCheckboxOnToggled
export pkguiDoCheckboxOnToggled
checkbox.go:58
FunctionpkguiDoColorButtonOnChanged
export pkguiDoColorButtonOnChanged
colorbutton.go:57
FunctionpkguiDoComboboxOnSelected
export pkguiDoComboboxOnSelected
combobox.go:59
FunctionpkguiDoDateTimePickerOnChanged
export pkguiDoDateTimePickerOnChanged
datetimepicker.go:92
FunctionpkguiDoEditableComboboxOnChanged
export pkguiDoEditableComboboxOnChanged
editablecombobox.go:64
FunctionpkguiDoEntryOnChanged
export pkguiDoEntryOnChanged
entry.go:75
FunctionpkguiDoFontButtonOnChanged
export pkguiDoFontButtonOnChanged
fontbutton.go:51
FunctionpkguiDoMultilineEntryOnChanged
export pkguiDoMultilineEntryOnChanged
multilineentry.go:79
FunctionpkguiDoOnShouldQuit
export pkguiDoOnShouldQuit
main.go:120
FunctionpkguiDoQueueMain
export pkguiDoQueueMain
main.go:92
FunctionpkguiDoRadioButtonsOnSelected
export pkguiDoRadioButtonsOnSelected
radiobuttons.go:58
FunctionpkguiDoSliderOnChanged
export pkguiDoSliderOnChanged
slider.go:50
FunctionpkguiDoSpinboxOnChanged
export pkguiDoSpinboxOnChanged
spinbox.go:50
FunctionpkguiDoTableModelCellValue
export pkguiDoTableModelCellValue
tablemodel.go:169
FunctionpkguiDoTableModelColumnType
export pkguiDoTableModelColumnType
tablemodel.go:146
FunctionpkguiDoTableModelNumColumns
export pkguiDoTableModelNumColumns
tablemodel.go:140
FunctionpkguiDoTableModelNumRows
export pkguiDoTableModelNumRows
tablemodel.go:163
FunctionpkguiDoTableModelSetCellValue
export pkguiDoTableModelSetCellValue
tablemodel.go:179
FunctionpkguiDoWindowOnClosing
export pkguiDoWindowOnClosing
window.go:80
FunctionsetupUI
()
examples/table.go:143
FunctionsetupUI
()
examples/drawtext.go:114
FunctionsetupUI
()
examples/controlgallery.go:194
FunctionsetupUI
()
examples/histogram.go:202
FunctionsetupUI
()
examples/updateui.go:18
MethodtoLibui
()
tablemodel.go:18
MethodtoLibui
()
tablemodel.go:31
MethodtoLibui
()
tablemodel.go:46
MethodtoLibui
()
tablemodel.go:58
MethodtoLibui
()
draw.go:225
← previousnext →201–300 of 315, ranked by callers