|
Python Script Engine
8.3
GL Studio Editor Python Script API
|
Public Types | |
| enum | DockWidgetArea { LeftDockWidgetArea = 0x1 , RightDockWidgetArea = 0x2 , TopDockWidgetArea = 0x4 , BottomDockWidgetArea = 0x8 } |
Public Member Functions | |
| None | Show () |
| None | Hide () |
| None | SetUrl (str url) |
| None | Reload () |
| None | Tabify (str title) |
| None | MoveToDockWidgetArea (DockWidgetArea area, str targetDockName) |
| None | SetTitle (str title) |
| None | Destroy () |
| tuple | GetScrollPosition () |
| None | SetScrollPosition (float x, float y) |
common editor interface HtmlDock
| None HtmlDock::Destroy | ( | ) |
Destroys the html dock.
Docks persist until manually destroyed using this method
| tuple HtmlDock::GetScrollPosition | ( | ) |
Gets the current scroll position of the html dock return a pair of x and y positions of the scroll area.
| None HtmlDock::Hide | ( | ) |
Hides the dock.
| None HtmlDock::MoveToDockWidgetArea | ( | DockWidgetArea | area, |
| str | targetDockName | ||
| ) |
Moves the dock widget to the dock widget area.
| area | The area to move it to. |
| targetDockName | The name of the dock to move it to. |
| None HtmlDock::Reload | ( | ) |
Reloads the current web page.
| None HtmlDock::SetScrollPosition | ( | float | x, |
| float | y | ||
| ) |
Sets the scroll position of the html dock param x the x position of the scroll area param y the y position of the scroll area.
| None HtmlDock::SetTitle | ( | str | title | ) |
Sets the title of the html dialog.
| title | the title |
| None HtmlDock::SetUrl | ( | str | url | ) |
Sets the url of the web page currently viewed.
Setting the url clears the view and loads the url
| url | the url |
| None HtmlDock::Show | ( | ) |
Shows the dock.
| None HtmlDock::Tabify | ( | str | title | ) |
Tabifies the dock in the same location as the specified dock.
| title | the title of the dock to tabify next to, e.g. "Object Properties" |