PyANGKernel.GKVMS¶
- class GKVMS¶
A Variable Message Sign representation
Details
It shows messages when an Action (
GKScenarioChange) is applied (or when the user set the message using a program).Synopsis¶
Methods¶
def
__init__()def
removeMessages()
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__()¶
- activateMessage(change, amessage)¶
- Parameters:
change –
GKScenarioChangeamessage – str
Activates a message on this VMS (the message that appears in a real VMS). The message have been set due to a scenario change.
More than one message can be active at the same time but only one message per scenario change can be set (what is logical).
- deactivateMessage(change)¶
- Parameters:
change –
GKScenarioChange
Deactivates messages on this VMS (the message that appears in a real VMS) that where activated by a scenario change (that have been deactivate).
Return the current message as a sum of all the messages currently actives set by the scenario changes.
Message in the VMS when no other message is shown. A helper function that access GKVMS::defaultMessageAtt
- removeMessages()¶
Removes all the messages.
- setDefaultMessage(amessage)¶
- Parameters:
amessage – str
Message in the VMS when no other message is shown. A helper function that access GKVMS::defaultMessageAtt