![]() |
Python Script Engine
8.2
GL Studio Editor Python Script API
|
Public Types | |
enum | DockWidgetArea { LeftDockWidgetArea = 0x1 , RightDockWidgetArea = 0x2 , TopDockWidgetArea = 0x4 , BottomDockWidgetArea = 0x8 } |
Public Member Functions | |
void | Show () |
void | Hide () |
void | SetUrl (String url) |
void | Reload () |
void | Tabify (String title) |
void | MoveToDockWidgetArea (DockWidgetArea area, String targetDockName) |
void | SetTitle (String title) |
void | Destroy () |
std::pair< double, double > | GetScrollPosition () |
void | SetScrollPosition (float x, float y) |
common editor interface HtmlDock
void HtmlDock::Destroy | ( | ) |
Destroys the html dock.
Docks persist until manually destroyed using this method
std::pair< double, double > HtmlDock::GetScrollPosition | ( | ) |
Gets the current scroll position of the html dock return a pair of x and y positions of the scroll area.
void HtmlDock::Hide | ( | ) |
Hides the dock.
void HtmlDock::MoveToDockWidgetArea | ( | DockWidgetArea | area, |
String | 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. |
void HtmlDock::Reload | ( | ) |
Reloads the current web page.
void 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.
void HtmlDock::SetTitle | ( | String | title | ) |
Sets the title of the html dialog.
title | the title |
void HtmlDock::SetUrl | ( | String | url | ) |
Sets the url of the web page currently viewed.
Setting the url clears the view and loads the url
url | the url |
void HtmlDock::Show | ( | ) |
Shows the dock.
void HtmlDock::Tabify | ( | String | 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" |