BrowserForm
-
class
compas_rhino.forms.
BrowserForm
(url, title='Browser', width=1024, height=786)[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_statustext_changed
(sender, eargs)Inherited Methods
on_form_closed
(sender, eargs)show
()Show the form as a modal dialog.