Canvas Widget
Canvas Widget
Canvas widget is one of the graphic objects that is used to represent other canvases inside the canvas. it is useful to load other canvas in the canvas or load several canvases dynamically.
Methods
Return Type |
Method |
Description |
Obtain the canvas on the canvas widget. Obtain the canvas widget to use inside the canvas widget. |
||
Obtain the canvas on the canvas widget. |
Obtain the canvas on the canvas widget. ㆍ Enter 'LoadCanvas' to the first parameter property. ㆍ Enter the canvas path to path. |
This is an initial loading screen. |
|
Example)
obj = canvas.getObject('Canvas widget_0'); << Obtain the canvas widget object. obj. setProperty('LoadCanvas', 'A.pws'); << Obtain the canvas 'A'. |
This is the loaded screen of canvas 'A'. |
|
Example)
obj = canvas.getObject('Canvas widget_0'); << Obtain the canvas widget object. obj. setProperty('LoadCanvas', 'A.pws'); << Obtain the canvas 'A' |
This is the loaded screen of canvas 'B'. |
|
Obtain canvas objects to use objects inside the canvas widget. |
Example)
obj = canvas.getObject('Canvas widget_0'); << Obtain the canvas widget object. wj = obj.canvasWidget(); << Obtain canvas objects to access objects inside the canvas widget. graph = wj.getObject('BarWidget_0') << Obtain graphic objects on the canvas widget. graph.setVisible(0) << Hide the graph. |
|