PapersDocument.MappingList¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class PapersDocument.MappingList¶
- classmethod new(page, list, data_destroy_func)¶
- Parameters:
page (
int) – page index for this mappinglist ([
PapersDocument.Mapping]) – aGLib.Listof data for the pagedata_destroy_func (
GLib.DestroyNotify) – function to free a list element
- Returns:
- Return type:
- find(data)¶
- Parameters:
- Returns:
- Return type:
- get(point)¶
- Parameters:
point (
PapersDocument.Point) – coordinate- Returns:
the
PapersDocument.Mappingin the list at coordinates (x, y)- Return type:
- get_data(point)¶
- Parameters:
point (
PapersDocument.Point) – coordinate- Returns:
the data of a mapping in the list at coordinates (x, y)
- Return type:
- get_list()¶
- Returns:
the data for this mapping list
- Return type:
- nth(n)¶
- Parameters:
n (
int) – the position to retrieve- Returns:
the #Ppsmapping at position n in self
- Return type:
- ref()¶
- Return type:
- remove(mapping)¶
- Parameters:
mapping (
PapersDocument.Mapping) –PapersDocument.Mappingto remove
- unref()¶