/
checkbutton.gen.go
41 lines (34 loc) · 1.06 KB
/
checkbutton.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package godot
import (
"github.com/shadowapex/godot-go/gdnative"
)
/*------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. Any updates should be done in
// "class.go.tmpl" so they can be included in the generated
// code.
//----------------------------------------------------------------------------*/
//func NewCheckButtonFromPointer(ptr gdnative.Pointer) CheckButton {
func newCheckButtonFromPointer(ptr gdnative.Pointer) CheckButton {
owner := gdnative.NewObjectFromPointer(ptr)
obj := CheckButton{}
obj.SetBaseObject(owner)
return obj
}
/*
CheckButton is a toggle button displayed as a check field.
*/
type CheckButton struct {
Button
owner gdnative.Object
}
func (o *CheckButton) BaseClass() string {
return "CheckButton"
}
// CheckButtonImplementer is an interface that implements the methods
// of the CheckButton class.
type CheckButtonImplementer interface {
ButtonImplementer
}