1
2
3
4
5
6
7
8
9
10
11
12from pyfbsdk import *
13from pyfbsdk_additions import *
14
15def CreateTool():
16
17 t = FBCreateUniqueTool("WebView Example")
18
19 t.StartSizeX = 1024
20 t.StartSizeY = 500
21
23
24 x = FBAddRegionParam(0,FBAttachType.kFBAttachLeft,"")
25 y = FBAddRegionParam(0,FBAttachType.kFBAttachTop,"")
26 w = FBAddRegionParam(0,FBAttachType.kFBAttachRight,"")
27 h = FBAddRegionParam(0,FBAttachType.kFBAttachBottom,"")
28
29 t.AddRegion("WebView","WebView", x, y, w, h)
30
31 t.SetControl("WebView",WebView)
32
33 ShowTool(t)
34
35 WebView.Load("http://www.autodesk.com")
36
37CreateTool()
38
39
Web viewer.
Definition: pyfbsdk_generated.h:21367