PyANGKernel.GKSectionObjectChangeSectionCmd¶
- class GKSectionObjectChangeSectionCmd¶
A command to change the section object to another section
Inherited by:
GKBusStopChangeSectionCmdSynopsis¶
Methods¶
def
__init__()def
setData()
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:
obj –
GKSectionObjectnewSection –
GKSectionnewPos –
GKPoint
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:
obj –
GKSectionObjectnewSection –
GKSectionnewPos – float
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.