BrowserForm
-
class
compas_rhino.forms.BrowserForm(url, title='Browser', width=1024, height=786)[source] Bases:
compas_rhino.forms.base.BaseFormA 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__(url[, title, width, height])Initialize self.
init()on_form_closed(sender, eargs)on_statustext_changed(sender, eargs)show()Show the form as a modal dialog.