Fetch the repository succeeded.
//----------------------------------------
// 代码由GenlibVcl工具自动生成。
// Copyright © ying32. All Rights Reserved.
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
. "github.com/ying32/govcl/vcl/types"
)
type TActionList struct {
IComponent
instance uintptr
}
func NewActionList(owner IComponent) *TActionList {
a := new(TActionList)
a.instance = ActionList_Create(CheckPtr(owner))
return a
}
func ActionListFromInst(inst uintptr) *TActionList {
a := new(TActionList)
a.instance = inst
return a
}
func ActionListFromObj(obj IObject) *TActionList {
a := new(TActionList)
a.instance = CheckPtr(obj)
return a
}
func (a *TActionList) Free() {
if a.instance != 0 {
ActionList_Free(a.instance)
a.instance = 0
}
}
func (a *TActionList) Instance() uintptr {
return a.instance
}
func (a *TActionList) IsValid() bool {
return a.instance != 0
}
func TActionListClass() TClass {
return ActionList_StaticClassType()
}
func (a *TActionList) FindComponent(AName string) *TComponent {
return ComponentFromInst(ActionList_FindComponent(a.instance, AName))
}
func (a *TActionList) GetNamePath() string {
return ActionList_GetNamePath(a.instance)
}
func (a *TActionList) HasParent() bool {
return ActionList_HasParent(a.instance)
}
func (a *TActionList) Assign(Source IObject) {
ActionList_Assign(a.instance, CheckPtr(Source))
}
func (a *TActionList) DisposeOf() {
ActionList_DisposeOf(a.instance)
}
func (a *TActionList) ClassType() TClass {
return ActionList_ClassType(a.instance)
}
func (a *TActionList) ClassName() string {
return ActionList_ClassName(a.instance)
}
func (a *TActionList) InstanceSize() int32 {
return ActionList_InstanceSize(a.instance)
}
func (a *TActionList) InheritsFrom(AClass TClass) bool {
return ActionList_InheritsFrom(a.instance, AClass)
}
func (a *TActionList) Equals(Obj IObject) bool {
return ActionList_Equals(a.instance, CheckPtr(Obj))
}
func (a *TActionList) GetHashCode() int32 {
return ActionList_GetHashCode(a.instance)
}
func (a *TActionList) ToString() string {
return ActionList_ToString(a.instance)
}
func (a *TActionList) Images() *TImageList {
return ImageListFromInst(ActionList_GetImages(a.instance))
}
func (a *TActionList) SetImages(value IComponent) {
ActionList_SetImages(a.instance, CheckPtr(value))
}
func (a *TActionList) State() TActionListState {
return ActionList_GetState(a.instance)
}
func (a *TActionList) SetState(value TActionListState) {
ActionList_SetState(a.instance, value)
}
func (a *TActionList) SetOnChange(fn TNotifyEvent) {
ActionList_SetOnChange(a.instance, fn)
}
func (a *TActionList) ComponentCount() int32 {
return ActionList_GetComponentCount(a.instance)
}
func (a *TActionList) ComponentIndex() int32 {
return ActionList_GetComponentIndex(a.instance)
}
func (a *TActionList) SetComponentIndex(value int32) {
ActionList_SetComponentIndex(a.instance, value)
}
func (a *TActionList) Owner() *TComponent {
return ComponentFromInst(ActionList_GetOwner(a.instance))
}
func (a *TActionList) Name() string {
return ActionList_GetName(a.instance)
}
func (a *TActionList) SetName(value string) {
ActionList_SetName(a.instance, value)
}
func (a *TActionList) Tag() int {
return ActionList_GetTag(a.instance)
}
func (a *TActionList) SetTag(value int) {
ActionList_SetTag(a.instance, value)
}
func (a *TActionList) Components(AIndex int32) *TComponent {
return ComponentFromInst(ActionList_GetComponents(a.instance, AIndex))
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。