87. gui.menus.Viewport — Viewport Menu.

This module defines the functions of the Viewport menu.

87.1. Functions defined in module gui.menus.Viewport

gui.menus.Viewport.setBgColor()[source]

Interactively set the viewport background colors.

gui.menus.Viewport.setColors()[source]

Set the canvas colors

gui.menus.Viewport.setLineWidth()[source]

Change the default line width.

gui.menus.Viewport.setCanvasSize()[source]

Save the current viewport size

gui.menus.Viewport.canvasSettings()[source]

Interactively change the canvas settings.

Creates a dialog to change the canvasSettings of the current or any other viewport

gui.menus.Viewport.viewportLayout()[source]

Interactively set the viewport layout.

Creates a dialog that allows the user to set the viewport layout. If the user accepts valid data, the viewport layout is changed accordingly. The contents of existing viewports remaining in the new layout is retained.

gui.menus.Viewport.drawOptions(d={})[source]

Set the Drawing options.

A dictionary may be specified to override the current defaults.

gui.menus.Viewport.showObjectDialog(show=True)[source]

Show the object dialog for the current scene.