代码拉取完成,页面将自动刷新
//----------------------------------------
// 代码由GenlibVcl工具自动生成。
// Copyright © ying32. All Rights Reserved.
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
. "github.com/ying32/govcl/vcl/types"
)
type TClipboard struct {
IObject
instance uintptr
}
func NewClipboard() *TClipboard {
c := new(TClipboard)
c.instance = Clipboard_Create()
return c
}
func ClipboardFromInst(inst uintptr) *TClipboard {
c := new(TClipboard)
c.instance = inst
return c
}
func ClipboardFromObj(obj IObject) *TClipboard {
c := new(TClipboard)
c.instance = CheckPtr(obj)
return c
}
func (c *TClipboard) Free() {
if c.instance != 0 {
Clipboard_Free(c.instance)
c.instance = 0
}
}
func (c *TClipboard) Instance() uintptr {
return c.instance
}
func (c *TClipboard) IsValid() bool {
return c.instance != 0
}
func TClipboardClass() TClass {
return Clipboard_StaticClassType()
}
func (c *TClipboard) Assign(Source IObject) {
Clipboard_Assign(c.instance, CheckPtr(Source))
}
func (c *TClipboard) Clear() {
Clipboard_Clear(c.instance)
}
func (c *TClipboard) Close() {
Clipboard_Close(c.instance)
}
func (c *TClipboard) GetAsHandle(Format uint16) uintptr {
return Clipboard_GetAsHandle(c.instance, Format)
}
func (c *TClipboard) HasFormat(Format uint16) bool {
return Clipboard_HasFormat(c.instance, Format)
}
func (c *TClipboard) Open() {
Clipboard_Open(c.instance)
}
func (c *TClipboard) SetAsHandle(Format uint16, Value uintptr) {
Clipboard_SetAsHandle(c.instance, Format , Value)
}
func (c *TClipboard) GetTextBuf(Buffer string, BufSize int32) int32 {
return Clipboard_GetTextBuf(c.instance, Buffer , BufSize)
}
func (c *TClipboard) GetNamePath() string {
return Clipboard_GetNamePath(c.instance)
}
func (c *TClipboard) DisposeOf() {
Clipboard_DisposeOf(c.instance)
}
func (c *TClipboard) ClassType() TClass {
return Clipboard_ClassType(c.instance)
}
func (c *TClipboard) ClassName() string {
return Clipboard_ClassName(c.instance)
}
func (c *TClipboard) InstanceSize() int32 {
return Clipboard_InstanceSize(c.instance)
}
func (c *TClipboard) InheritsFrom(AClass TClass) bool {
return Clipboard_InheritsFrom(c.instance, AClass)
}
func (c *TClipboard) Equals(Obj IObject) bool {
return Clipboard_Equals(c.instance, CheckPtr(Obj))
}
func (c *TClipboard) GetHashCode() int32 {
return Clipboard_GetHashCode(c.instance)
}
func (c *TClipboard) ToString() string {
return Clipboard_ToString(c.instance)
}
func (c *TClipboard) AsText() string {
return Clipboard_GetAsText(c.instance)
}
func (c *TClipboard) SetAsText(value string) {
Clipboard_SetAsText(c.instance, value)
}
func (c *TClipboard) FormatCount() int32 {
return Clipboard_GetFormatCount(c.instance)
}
func (c *TClipboard) Formats(Index int32) uint16 {
return Clipboard_GetFormats(c.instance, Index)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。