BrowserForm
- class compas_rhino.forms.BrowserForm(*args: Any, **kwargs: Any)[source]
Bases:
compas_rhino.forms.base.BaseForm
A form for displaying web pages.
- Parameters
url (str) – The url of a web page.
title (str, optional) – The title of the form. Default is
'BrowserForm'
width (int, optional) – The width of the form. Default is
1024
.height (int, optional) – The height of the form. Default is
786
.
Examples
form = BrowserForm('http://block.arch.ethz.ch') form.show()
Methods
init
()on_form_closed
(sender, eargs)on_statustext_changed
(sender, eargs)show
()Show the form as a modal dialog.