How to add corner components on GSHandle by script?

How to add corner components on GSHandle? The following script shows that the added corner component is not in this GSHandle, it at the origin.

tool = Font.parent.windowController().toolEventDelegate()
for handle in tool.currentTool().extraHandles():
    corner = GSHint()''
    corner.type = CORNER
    corner.originNode = handle

Even if executed
it not successful either.