PyANGKernel.GKSectionObjectChangeSectionCmd

class GKSectionObjectChangeSectionCmd

A command to change the section object to another section

Inheritance diagram of PyANGKernel.GKSectionObjectChangeSectionCmd

Inherited by: GKBusStopChangeSectionCmd

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
setData(obj, newSection, newPos)
Parameters:

Sets the required data for the command to be able to change its new location. Specify the destination section as well as the point where to locate the section object’s beginning.

setData(obj, newSection, newPos)
Parameters:

Sets the required data for the command to be able to change its new location. Specify the destination section as well as the distance from the beginning of the destination section where to locate the section object’s beginning.