c4d.gui.HtmlViewerCustomGui
¶
HtmlViewer GUI ( CUSTOMGUI_HTMLVIEWER ). Can view both local and Internet HTML files using the http protocol.
Note
HTML viewer GUI elements can not be used in modal dialogs.
c4d.gui.
HtmlViewerCustomGui
¶
HtmlViewerCustomGui.SetURLCallback()
HtmlViewerCustomGui.DoAction()
HtmlViewerCustomGui.GetTextArea()
c4d.gui.BaseCustomGui
HtmlViewerCustomGui.
SetText
(
url
)
¶
Set the HTML viewer text.
Parameters: | str – New text. |
---|
HtmlViewerCustomGui.
SetUrl
(
url
,
encoding
)
¶
Set the HTML viewer URL.
Parameters: |
|
---|
HtmlViewerCustomGui.
SetURLCallback
(
callback
[
,
user_data
]
)
¶
Set the URL callback.
Parameters: |
|
---|
HtmlViewerCustomGui.
DoAction
(
action
)
¶
Do an action in the HTML viewer.
Parameters: |
action
(
int
) –
Action:
|
---|
HtmlViewerCustomGui.
GetTextArea
(
id
)
¶
Private legacy. Always return an empty string.