GOffice.CanvasIntArray¶
Details¶
- 
class GOffice.CanvasIntArray¶
- FocIntArray::n is the size of the array. A boxed type used to hold an array of integers. - New in version 0.8.2. - 
classmethod new(n)¶
- Parameters: - n ( - int) – the number of integers in the array.- Returns: - the newly created - GOffice.CanvasIntArraywith an initial references- GOffice.countof 1.- Return type: - GOffice.CanvasIntArray- Creates a new - GOffice.CanvasIntArrayinstances with n values initialized to 0. The values can be changed using direct access:- GocIntArray array = goc_int_array_new (2); array->vals[0] = my_first_int; array->vals[1] = my_second_int; - New in version 0.8.2. 
 - 
ref()¶
- Returns: - the referenced - GOffice.CanvasIntArray.- Return type: - GOffice.CanvasIntArray- Increases the references - GOffice.countof self by 1.- New in version 0.8.2. 
 - 
unref()¶
- Decreases the references - GOffice.countof self by 1, and destroys it if the references- GOffice.countbecomes 0.- New in version 0.8.2. 
 
- 
classmethod