pango.attr_shape
Module for [AttrShape] class
class AttrShape
Types 1
classAttrShape
The pango.attr_shape.AttrShape structure is used to represent attributes which impose shape restrictions.
Fields
PangoAttrShape _cInstanceMethods
void * _cPtr() nothrowpango.attribute.Attribute attr() @property nothrowGet `attr` field. Returns: the common portion of the attributepango.types.Rectangle inkRect() @property nothrowGet `inkRect` field. Returns: the ink rectangle to restrict tovoid inkRect(pango.types.Rectangle propval) @property nothrowSet `inkRect` field. Params: propval = the ink rectangle to restrict topango.types.Rectangle logicalRect() @property nothrowGet `logicalRect` field. Returns: the logical rectangle to restrict tovoid logicalRect(pango.types.Rectangle propval) @property nothrowSet `logicalRect` field. Params: propval = the logical rectangle to restrict toPangoAttrDataCopyFunc copyFunc() @property nothrowGet `copyFunc` field. Returns: copy function for the user datavoid copyFunc(PangoAttrDataCopyFunc propval) @property nothrowSet `copyFunc` field. Params: propval = copy function for the user dataGDestroyNotify destroyFunc() @property nothrowGet `destroyFunc` field. Returns: destroy function for the user datavoid destroyFunc(GDestroyNotify propval) @property nothrowSet `destroyFunc` field. Params: propval = destroy function for the user datapango.attribute.Attribute new_(pango.types.Rectangle inkRect, pango.types.Rectangle logicalRect) static nothrowCreate a new shape attribute.