MCPcopy Create free account

hub / github.com/andlabs/ui / functions

Functions315 in github.com/andlabs/ui

↓ 1 callersFunctionfreeStrokeParams
(csp *C.uiDrawStrokeParams)
draw.go:293
↓ 1 callersMethodfromLibui
(fd *C.uiFontDescriptor)
drawtext.go:428
↓ 1 callersFunctioninPoint
(x, y float64, xtest, ytest float64)
examples/histogram.go:163
↓ 1 callersFunctionmakeAttributedString
()
examples/drawtext.go:30
↓ 1 callersFunctionmakeBasicControlsPage
()
examples/controlgallery.go:14
↓ 1 callersFunctionmakeDataChoosersPage
()
examples/controlgallery.go:108
↓ 1 callersFunctionmakeNumbersPage
()
examples/controlgallery.go:48
↓ 1 callersFunctionnewModelHandler
()
examples/table.go:28
↓ 1 callersFunctiontableValueFromLibui
(value *C.uiTableValue)
tablemodel.go:62
↓ 1 callersMethodtoLibui
()
tablemodel.go:11
↓ 1 callersFunctionunregisterAreaHandler
(uah *C.uiAreaHandler)
areahandler.go:107
MethodAppend
Append adds the given image as a representation of the Image.
image.go:50
MethodAppend
Append adds text to the end of the MultilineEntry's text. TODO selection and scroll behavior
multilineentry.go:66
MethodAppendCheckboxTextColumn
AppendCheckboxTextColumn appends a column to t that contains both a checkbox and text.
table.go:129
MethodAppendImageColumn
AppendImageColumn appends an image column to t. Images are drawn at icon size, appropriate to the pixel density of the screen showing the Table.
table.go:101
MethodArcTo
ArcTo adds a circular arc to the current figure of the DrawPath. You pass it the center of the arc, its radius in radians, the starting angle (couterc
draw.go:106
MethodBezierTo
BezierTo adds a cubic Bezier curve to the current figure of the DrawPath. Its start point is the current point. c1x and c1y are the first control poin
draw.go:119
MethodBorderless
Borderless returns whether the Window is borderless.
window.go:92
MethodCellValue
(m *ui.TableModel, row, column int)
examples/table.go:55
MethodChecked
Checked returns whether the Checkbox is checked.
checkbox.go:66
MethodClip
TODO
draw.go:442
MethodColumnTypes
(m *ui.TableModel)
examples/table.go:35
MethodDelete
Delete deletes the characters and attributes of s in the byte range [start, end).
drawtext.go:402
MethodDestroy
Destroy destroys the Group. If the Group has a child, Destroy calls Destroy on that as well.
group.go:35
MethodDestroy
Destroy destroys the Form. If the Form has children, Destroy calls Destroy on those Controls as well.
form.go:36
MethodDestroy
Destroy destroys the Box. If the Box has children, Destroy calls Destroy on those Controls as well.
box.go:48
MethodDestroy
Destroy destroys the Tab. If the Tab has pages, Destroy calls Destroy on the pages's Controls as well.
tab.go:33
MethodDestroy
Destroy destroys the Area.
area.go:77
MethodDestroy
()
control.go:94
MethodDisable
Disable disables the Control.
control.go:53
MethodDisable
()
control.go:123
MethodDragBroken
(a *ui.Area)
examples/drawtext.go:105
MethodDragBroken
(a *ui.Area)
examples/histogram.go:193
MethodDraw
(a *ui.Area, p *ui.AreaDrawParams)
examples/drawtext.go:86
MethodDraw
(a *ui.Area, p *ui.AreaDrawParams)
examples/histogram.go:94
FunctionDrawNewMatrix
TODO identity matrix
draw.go:328
FunctionDrawNewPath
DrawNewPath creates a new DrawPath with the given fill mode.
draw.go:53
FunctionDrawNewTextLayout
DrawNewTextLayout() creates a new DrawTextLayout from the given parameters.
drawtext.go:489
MethodEnable
Enable enables the Control.
control.go:50
MethodEnable
()
control.go:119
MethodEnabled
Enabled returns whether the Control is enabled.
control.go:47
MethodEnabled
()
control.go:115
MethodFree
Free frees m. It is an error to Free any models associated with a Table.
tablemodel.go:197
MethodFree
Free destroys a DrawPath. After calling Free the DrawPath cannot be used.
draw.go:71
MethodFree
Free destroys s.
drawtext.go:374
MethodFree
Free frees tl. The underlying AttributedString is not freed.
drawtext.go:503
MethodHandle
Handle returns the OS-level handle that backs the Control. On OSs that use reference counting for controls, Handle does not increment the reference co
control.go:33
MethodHandle
()
control.go:99
MethodHide
()
control.go:111
MethodInsertAt
InsertAt adds the given control to the Grid relative to an existing control.
grid.go:76
MethodInsertAtUnattributed
InsertAtUnattributed adds str to s at the byte position specified by at. The new substring will be unattributed; existing attributes will be moved alo
drawtext.go:394
MethodInvert
TODO If m is not invertible, false is returned and m is left unchanged.
draw.go:417
MethodInvertible
TODO
draw.go:407
MethodKeyEvent
(a *ui.Area, ke *ui.AreaKeyEvent)
examples/drawtext.go:109
MethodKeyEvent
(a *ui.Area, ke *ui.AreaKeyEvent)
examples/histogram.go:197
MethodLibuiControl
()
control.go:90
FunctionLibuiFreeText
LibuiFreeText allows implementations of Control to call the libui function uiFreeText.
control.go:143
FunctionMain
Main initializes package ui, runs f to set up the program, and executes the GUI main loop. f should set up the program's initial state: open the main
main.go:30
MethodMargined
Margined returns whether the Window has margins around its child.
window.go:113
MethodMargined
Margined returns whether the Group has margins around its child.
group.go:71
MethodMargined
Margined returns whether page n (starting at 0) of the Tab has margins around its child.
tab.go:78
MethodMouseCrossed
(a *ui.Area, left bool)
examples/drawtext.go:101
MethodMouseCrossed
(a *ui.Area, left bool)
examples/histogram.go:189
MethodMouseEvent
(a *ui.Area, me *ui.AreaMouseEvent)
examples/drawtext.go:97
MethodMouseEvent
(a *ui.Area, me *ui.AreaMouseEvent)
examples/histogram.go:173
FunctionMsgBox
(w *Window, title string, description string)
stddialogs.go:35
FunctionMsgBoxError
TODO
stddialogs.go:9
MethodMultiply
TODO
draw.go:398
FunctionNewArea
NewArea creates a new non-scrolling Area.
area.go:52
FunctionNewAttributedString
NewAttributedString creates a new AttributedString from initialString. The string will be entirely unattributed.
drawtext.go:365
FunctionNewButton
NewButton creates a new Button with the given text as its label.
button.go:22
FunctionNewCheckbox
NewCheckbox creates a new Checkbox with the given text as its label.
checkbox.go:23
FunctionNewColorButton
NewColorButton creates a new ColorButton.
colorbutton.go:21
FunctionNewCombobox
NewCombobox creates a new Combobox.
combobox.go:22
FunctionNewDatePicker
NewDatePicker creates a new DateTimePicker that shows only a date.
datetimepicker.go:40
FunctionNewDateTimePicker
NewDateTimePicker creates a new DateTimePicker that shows both a date and a time.
datetimepicker.go:34
FunctionNewEditableCombobox
NewEditableCombobox creates a new EditableCombobox.
editablecombobox.go:22
FunctionNewEntry
NewEntry creates a new Entry.
entry.go:36
FunctionNewFontButton
NewFontButton creates a new FontButton.
fontbutton.go:21
FunctionNewForm
NewForm creates a new horizontal Form.
form.go:25
FunctionNewGrid
NewGrid creates a new Grid.
grid.go:53
FunctionNewGroup
NewGroup creates a new Group.
group.go:22
FunctionNewHorizontalBox
NewHorizontalBox creates a new horizontal Box.
box.go:27
FunctionNewHorizontalSeparator
NewHorizontalSeparator creates a new horizontal Separator.
separator.go:20
FunctionNewImage
NewImage creates a new Image with the given width and height. This width and height should be the size in points of the image in the device-independen
image.go:38
FunctionNewLabel
NewLabel creates a new Label with the given text.
label.go:20
FunctionNewMultilineEntry
NewMultilineEntry creates a new MultilineEntry. The MultilineEntry soft-word-wraps and has no horizontal scrollbar.
multilineentry.go:38
FunctionNewNonWrappingMultilineEntry
NewNonWrappingMultilineEntry creates a new MultilineEntry. The MultilineEntry does not word-wrap and thus has horizontal scrollbar.
multilineentry.go:45
FunctionNewPasswordEntry
NewPasswordEntry creates a new Entry whose contents are visibly obfuscated, suitable for passwords.
entry.go:42
FunctionNewProgressBar
NewProgressBar creates a new ProgressBar.
progressbar.go:20
FunctionNewRadioButtons
NewRadioButtons creates a new RadioButtons.
radiobuttons.go:21
FunctionNewScrollingArea
NewScrollingArea creates a new scrolling Area of the given size, in points.
area.go:65
FunctionNewSearchEntry
NewSearchEntry creates a new Entry suitable for searching with. Changed events may, depending on the system, be delayed with a search Entry, to produc
entry.go:49
FunctionNewSlider
NewSlider creates a new Slider. If min >= max, they are swapped.
slider.go:22
FunctionNewSpinbox
NewSpinbox creates a new Spinbox. If min >= max, they are swapped.
spinbox.go:22
FunctionNewTab
NewTab creates a new Tab.
tab.go:22
FunctionNewTable
NewTable creates a new Table with the specified parameters.
table.go:74
FunctionNewTableModel
NewTableModel creates a new TableModel.
tablemodel.go:186
FunctionNewTimePicker
NewTimePicker creates a new DateTimePicker that shows only a time.
datetimepicker.go:46
FunctionNewVerticalBox
NewVerticalBox creates a new vertical Box.
box.go:37
← previousnext →101–200 of 315, ranked by callers