Python Script Engine  8.3
GL Studio Editor Python Script API
HtmlDialog Class Reference

Public Member Functions

None Show ()
 
None Hide ()
 
bool Exec ()
 
None SetUrl (str url)
 
None Reload ()
 
None SetTitle (str title)
 
None Destroy ()
 
None SetSize (int width, int height)
 
None SetResizeable (bool isResizeable)
 

Detailed Description

common editor interface HtmlDialog

Member Function Documentation

◆ Destroy()

None HtmlDialog::Destroy ( )

Destroys the html dialog.

Dialogs persist until manually destroyed using this method

◆ Exec()

bool HtmlDialog::Exec ( )

Shows the dialog as a modal dialog, blocking until the user closes it.

Returns
true if the javascript method "GlStudioHtmlDialog.ok()" is called, false if the javascript method "GlStudioHtmlDialog.cancel()" is called, or false if the user closes the dialog

◆ Hide()

None HtmlDialog::Hide ( )

Hides the dialog.

◆ Reload()

None HtmlDialog::Reload ( )

Reloads the current web page.

◆ SetResizeable()

None HtmlDialog::SetResizeable ( bool  isResizeable)

Sets whether or not the dialog is resizeable.

Parameters
isResizeableif true, the dialog is resizeable, if false, it is not resizeable

◆ SetSize()

None HtmlDialog::SetSize ( int  width,
int  height 
)

Sets the size of the html dialog.

Parameters
widththe dialog width
heightthe dialog height

◆ SetTitle()

None HtmlDialog::SetTitle ( str  title)

Sets the title of the html dialog.

Parameters
titlethe title

◆ SetUrl()

None HtmlDialog::SetUrl ( str  url)

Sets the url of the web page currently viewed.

Setting the url clears the view and loads the url

Parameters
urlthe url

◆ Show()

None HtmlDialog::Show ( )

Shows the dialog as a non-modal dialog.


The documentation for this class was generated from the following file: