Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- GooCanvas.cairo_matrix_copy(matrix)¶
- Parameters:
matrix (
cairo.Matrix) –- Return type:
- GooCanvas.cairo_matrix_free(matrix)¶
- Parameters:
matrix (
cairo.Matrix) –
- GooCanvas.canvas_item_class_find_child_property(iclass, property_name)¶
- Parameters:
iclass (
GObject.ObjectClass) – aGObject.ObjectClassproperty_name (
str) – the name of the child property to find
- Returns:
the
GObject.ParamSpecof the child property orNoneif class has no child property with that name.- Return type:
This function is only intended to be used when implementing new canvas items, specifically layout container items such as
GooCanvas.CanvasTable.It finds a child property of a canvas item class by name.
- GooCanvas.canvas_item_class_install_child_property(iclass, property_id, pspec)¶
- Parameters:
iclass (
GObject.ObjectClass) – aGObject.ObjectClassproperty_id (
int) – the id for the propertypspec (
GObject.ParamSpec) – theGObject.ParamSpecfor the property
This function is only intended to be used when implementing new canvas items, specifically layout container items such as
GooCanvas.CanvasTable.It installs a child property on a canvas item class.
- GooCanvas.canvas_item_class_list_child_properties(iclass)¶
- Parameters:
iclass (
GObject.ObjectClass) – aGObject.ObjectClass- Returns:
a newly allocated array of
GObject.ParamSpec. The array must be freed withGLib.free().- Return type:
This function is only intended to be used when implementing new canvas items, specifically layout container items such as
GooCanvas.CanvasTable.It returns all child properties of a canvas item class.
- GooCanvas.canvas_item_model_class_find_child_property(mclass, property_name)¶
- Parameters:
mclass (
GObject.ObjectClass) – aGObject.ObjectClassproperty_name (
str) – the name of the child property to find
- Returns:
The
GObject.ParamSpecof the child property orNoneif class has no child property with that name.- Return type:
This function is only intended to be used when implementing new canvas item models, specifically layout container item models such as
GooCanvas.CanvasTableModel.It finds a child property of a canvas item class by name.
- GooCanvas.canvas_item_model_class_install_child_property(mclass, property_id, pspec)¶
- Parameters:
mclass (
GObject.ObjectClass) – aGObject.ObjectClassproperty_id (
int) – the id for the propertypspec (
GObject.ParamSpec) – theGObject.ParamSpecfor the property
This function is only intended to be used when implementing new canvas item models, specifically layout container item models such as
GooCanvas.CanvasTableModel.It installs a child property on a canvas item class.
- GooCanvas.canvas_item_model_class_list_child_properties(mclass)¶
- Parameters:
mclass (
GObject.ObjectClass) – aGObject.ObjectClass- Returns:
a newly allocated array of
GObject.ParamSpec. The array must be freed withGLib.free().- Return type:
This function is only intended to be used when implementing new canvas item models, specifically layout container item models such as
GooCanvas.CanvasTableModel.It returns all child properties of a canvas item class.