cutego/gui/qaccessibletablecellinterface.go

124 lines
3.3 KiB
Go
Executable file

package gui
//#include "gui.h"
import "C"
import (
"github.com/therecipe/qt"
"unsafe"
)
type QAccessibleTableCellInterface struct {
ptr unsafe.Pointer
}
type QAccessibleTableCellInterface_ITF interface {
QAccessibleTableCellInterface_PTR() *QAccessibleTableCellInterface
}
func (p *QAccessibleTableCellInterface) Pointer() unsafe.Pointer {
return p.ptr
}
func (p *QAccessibleTableCellInterface) SetPointer(ptr unsafe.Pointer) {
p.ptr = ptr
}
func PointerFromQAccessibleTableCellInterface(ptr QAccessibleTableCellInterface_ITF) unsafe.Pointer {
if ptr != nil {
return ptr.QAccessibleTableCellInterface_PTR().Pointer()
}
return nil
}
func NewQAccessibleTableCellInterfaceFromPointer(ptr unsafe.Pointer) *QAccessibleTableCellInterface {
var n = new(QAccessibleTableCellInterface)
n.SetPointer(ptr)
for len(n.ObjectNameAbs()) < len("QAccessibleTableCellInterface_") {
n.SetObjectNameAbs("QAccessibleTableCellInterface_" + qt.Identifier())
}
return n
}
func (ptr *QAccessibleTableCellInterface) QAccessibleTableCellInterface_PTR() *QAccessibleTableCellInterface {
return ptr
}
func (ptr *QAccessibleTableCellInterface) ColumnExtent() int {
defer qt.Recovering("QAccessibleTableCellInterface::columnExtent")
if ptr.Pointer() != nil {
return int(C.QAccessibleTableCellInterface_ColumnExtent(ptr.Pointer()))
}
return 0
}
func (ptr *QAccessibleTableCellInterface) ColumnIndex() int {
defer qt.Recovering("QAccessibleTableCellInterface::columnIndex")
if ptr.Pointer() != nil {
return int(C.QAccessibleTableCellInterface_ColumnIndex(ptr.Pointer()))
}
return 0
}
func (ptr *QAccessibleTableCellInterface) IsSelected() bool {
defer qt.Recovering("QAccessibleTableCellInterface::isSelected")
if ptr.Pointer() != nil {
return C.QAccessibleTableCellInterface_IsSelected(ptr.Pointer()) != 0
}
return false
}
func (ptr *QAccessibleTableCellInterface) RowExtent() int {
defer qt.Recovering("QAccessibleTableCellInterface::rowExtent")
if ptr.Pointer() != nil {
return int(C.QAccessibleTableCellInterface_RowExtent(ptr.Pointer()))
}
return 0
}
func (ptr *QAccessibleTableCellInterface) RowIndex() int {
defer qt.Recovering("QAccessibleTableCellInterface::rowIndex")
if ptr.Pointer() != nil {
return int(C.QAccessibleTableCellInterface_RowIndex(ptr.Pointer()))
}
return 0
}
func (ptr *QAccessibleTableCellInterface) Table() *QAccessibleInterface {
defer qt.Recovering("QAccessibleTableCellInterface::table")
if ptr.Pointer() != nil {
return NewQAccessibleInterfaceFromPointer(C.QAccessibleTableCellInterface_Table(ptr.Pointer()))
}
return nil
}
func (ptr *QAccessibleTableCellInterface) DestroyQAccessibleTableCellInterface() {
defer qt.Recovering("QAccessibleTableCellInterface::~QAccessibleTableCellInterface")
if ptr.Pointer() != nil {
C.QAccessibleTableCellInterface_DestroyQAccessibleTableCellInterface(ptr.Pointer())
}
}
func (ptr *QAccessibleTableCellInterface) ObjectNameAbs() string {
defer qt.Recovering("QAccessibleTableCellInterface::objectNameAbs")
if ptr.Pointer() != nil {
return C.GoString(C.QAccessibleTableCellInterface_ObjectNameAbs(ptr.Pointer()))
}
return ""
}
func (ptr *QAccessibleTableCellInterface) SetObjectNameAbs(name string) {
defer qt.Recovering("QAccessibleTableCellInterface::setObjectNameAbs")
if ptr.Pointer() != nil {
C.QAccessibleTableCellInterface_SetObjectNameAbs(ptr.Pointer(), C.CString(name))
}
}