BrowserForm

class compas_rhino.forms.BrowserForm(*args, **kwargs)[source]

Bases: BaseForm

A form for displaying web pages.

Parameters
  • url (str) – The url of a web page.

  • title (str, optional) – The title of the form.

  • width (int, optional) – The width of the form.

  • height (int, optional) – The height of the form.

Attributes

url (System.Uri) – Address of the resource to display in the browser.

Examples

form = BrowserForm('http://block.arch.ethz.ch')
form.show()

Methods

init

Initialize the form.

on_statustext_changed

Callback for changes in the status text.

Inherited Methods

on_form_closed

Callback for the closing event of the form.

show

Show the form as a modal dialog.