func (ptr *QGraphicsTextItem) SetDocument(document gui.QTextDocument_ITF) { if ptr.Pointer() != nil { C.QGraphicsTextItem_SetDocument(ptr.Pointer(), gui.PointerFromQTextDocument(document)) } }
func NewQPlainTextDocumentLayout(document gui.QTextDocument_ITF) *QPlainTextDocumentLayout { return NewQPlainTextDocumentLayoutFromPointer(C.QPlainTextDocumentLayout_NewQPlainTextDocumentLayout(gui.PointerFromQTextDocument(document))) }
func (ptr *QPlainTextEdit) SetDocument(document gui.QTextDocument_ITF) { if ptr.Pointer() != nil { C.QPlainTextEdit_SetDocument(ptr.Pointer(), gui.PointerFromQTextDocument(document)) } }